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:
parent
c75a3356b3
commit
aa8a8d8f6d
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue