paulbutcher / ScalaMock

Native Scala mocking framework
http://scalamock.org/
MIT License
502 stars 99 forks source link

Minor Scaladoc example mistake #406

Closed dodnert closed 3 years ago

dodnert commented 3 years ago

The Scaladoc text here defines a variable named mockIncrement on the first line, but then incorrectly uses it with the name m on the following line.

val mockIncrement = mockFunction[Int, Int]
m expects (*) onCall { _ + 1 }