Skip to content

Commit c67d57d

Browse files
nobueregon
authored andcommitted
Split an assertion for f1f04caf60e4fc9dc3b12109e0be831f2d692810
1 parent 7eed909 commit c67d57d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

command_line/frozen_strings_spec.rb

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

0 commit comments

Comments
 (0)