1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Fix watch tests

This commit is contained in:
Conrad Irwin 2014-01-24 00:16:16 -08:00
parent b54bbc3bda
commit 3e0d76458f

View file

@ -8,7 +8,7 @@ describe "watch expression" do
# 3) Return the output
def eval(expr)
output = @tester.eval expr
@tester.pry.hooks.exec_hook :after_eval
@tester.pry.hooks.exec_hook :after_eval, nil, @tester.pry
output
end