Skip to content

Commit e7326a9

Browse files
committed
Fixed typo in README
1 parent f870c47 commit e7326a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ local f = mach.mock_function()
9090

9191
-- Use and_also when order is important
9292
f:should_be_called_with(1):
93-
andThen(f:should_be_called_with(2)):
93+
and_then(f:should_be_called_with(2)):
9494
when(function()
9595
f(2) -- Error, out of order call
9696
f(1)
@@ -114,7 +114,7 @@ local f = mach.mock_function()
114114

115115
f:should_be_called_with(1):
116116
and_also(f:should_be_called_with(2)):
117-
andThen(f:should_be_called_with(3)):
117+
and_then(f:should_be_called_with(3)):
118118
and_also(f:should_be_called_with(4)):
119119
when(function()
120120
f(2)

0 commit comments

Comments
 (0)