mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Fix syntax error in tests.
This commit is contained in:
parent
9708367342
commit
a5ca8e602f
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ describe "Pry::DefaultCommands::Introspection" do
|
|||
|
||||
it 'should output an instance method\'s source for a method defined inside pry using define_method' do
|
||||
str_output = StringIO.new
|
||||
redirect_pry_io(InputTester.new("class A", "define_method(:yup) {}", "end", "end", "show-method A#yup"), str_output) do
|
||||
redirect_pry_io(InputTester.new("class A", "define_method(:yup) {}", "end", "show-method A#yup"), str_output) do
|
||||
TOPLEVEL_BINDING.pry
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue