Skip to content

Commit ad3cf46

Browse files
authored
Update README.md
1 parent fc818df commit ad3cf46

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
@@ -19,7 +19,7 @@ f:should_be_called():when(function() f() end)
1919
local mach = require 'mach'
2020

2121
local o = {}
22-
o.m = mach.mach_method('m')
22+
o.m = mach.mock_method('m')
2323

2424
m:should_be_called():when(function() o:m() end)
2525
```

0 commit comments

Comments
 (0)