Skip to content

Commit

Permalink
Fix an incorrect code example in Scaladoc comment (#407)
Browse files Browse the repository at this point in the history
Addresses issue #406
  • Loading branch information
dodnert committed Aug 28, 2021
1 parent a717d88 commit f956111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared/src/main/scala/org/scalamock/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ package org
*
* {{{
* val mockIncrement = mockFunction[Int, Int]
* m expects (*) onCall { _ + 1 }
* mockIncrement expects (*) onCall { _ + 1 }
* }}}
*
* ===Overloaded, curried and polymorphic methods===
Expand Down Expand Up @@ -298,4 +298,4 @@ package org
* You can call mocks from other threads within tests, but any such calls must be complete
* before the test completes - it's an error to call a mock afterwards.
*/
package object scalamock
package object scalamock

0 comments on commit f956111

Please sign in to comment.