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

fix top-level prompt test for 1.8

This commit is contained in:
Ryan Fitzgerald 2011-09-09 00:29:24 -07:00
parent 464d0991b2
commit 4bbf3d602b

View file

@ -1136,9 +1136,9 @@ describe Pry do
end end
describe "given the 'main' object" do describe "given the 'main' object" do
it "returns the #inspect of main (special case)" do it "returns the #to_s of main (special case)" do
o = TOPLEVEL_BINDING.eval('self') o = TOPLEVEL_BINDING.eval('self')
Pry.view_clip(o, VC_MAX_LENGTH).should == o.inspect Pry.view_clip(o, VC_MAX_LENGTH).should == o.to_s
end end
end end