Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Noam Finkelstein committed Nov 7, 2017
1 parent 20d2ef5 commit deee078
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 @@ -81,7 +81,7 @@ g = function(y) y
f = function(x) g(x) + 1
r = function(x) g(x) + f(x)
test_that('demonstrate stubbing', {
stub(f, 'g', 100, depth=2)
stub(r, 'g', 100, depth=2)
expect_equal(r(1), 201)
})
```
Expand Down

0 comments on commit deee078

Please sign in to comment.