loosened test in test_pry_output.rb
This commit is contained in:
parent
e9bf445f17
commit
cb0543491a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue