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:
parent
464d0991b2
commit
4bbf3d602b
1 changed files with 2 additions and 2 deletions
|
@ -1136,9 +1136,9 @@ describe Pry do
|
|||
end
|
||||
|
||||
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')
|
||||
Pry.view_clip(o, VC_MAX_LENGTH).should == o.inspect
|
||||
Pry.view_clip(o, VC_MAX_LENGTH).should == o.to_s
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue