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

Split an assertion for f1f04caf60

This commit is contained in:
Nobuyoshi Nakada 2019-06-05 12:03:56 +09:00
parent c75a3356b3
commit aa8a8d8f6d
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -22,7 +22,8 @@ end
describe "The --debug flag produces" do
it "debugging info on attempted frozen string modification" do
error_str = ruby_exe(fixture(__FILE__, 'debug_info.rb'), options: '--debug', args: "2>&1")
error_str.should include("can't modify frozen String, created at ")
error_str.should include("can't modify frozen String")
error_str.should include("created at")
error_str.should include("command_line/fixtures/debug_info.rb:2")
end
end