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

loosened test in test_pry_output.rb

This commit is contained in:
John Mair 2011-09-22 02:51:14 +12:00
parent e9bf445f17
commit cb0543491a

View file

@ -35,7 +35,7 @@ describe Pry do
end
it "should not be phased by un-inspectable things" do
mock_pry("class NastyClass; undef pretty_inspect; end", "NastyClass.new").should =~ /#<NastyClass:0x[0-9a-f]+>/
mock_pry("class NastyClass; undef pretty_inspect; end", "NastyClass.new").should =~ /#<NastyClass:0x.*?>/
end
end
end