Skip to content

Commit

Permalink
chore(readme): fix the introductory example (lunarmodules#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
C3pa authored Apr 7, 2023
1 parent a6fb306 commit 4b55da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('Busted unit testing framework', function()

it('should have mocks and spies for functional tests', function()
local thing = require('thing_module')
spy.spy_on(thing, 'greet')
spy.on(thing, 'greet')
thing.greet('Hi!')

assert.spy(thing.greet).was.called()
Expand Down

0 comments on commit 4b55da7

Please sign in to comment.