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
1 changed files with 1 additions and 1 deletions

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