Skip to content

Commit 2f10ac5

Browse files
authored
Update README.md
1 parent 315e715 commit 2f10ac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ local mach = require 'mach'
2121
local o = {}
2222
o.m = mach.mock_method('m')
2323

24-
m:should_be_called():when(function() o:m() end)
24+
o.m:should_be_called():when(function() o:m() end)
2525
```
2626

2727
## Mocking a Table

0 commit comments

Comments
 (0)