diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_string.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb index faf28f5c8e..2e2872b9f8 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -2223,13 +2223,7 @@ class TestString < Test::Unit::TestCase end def test_frozen_string_cannot_be_adjacent - assert_raises(SyntaxError) do - eval(%{ - "hello"f "world" - }) - end - - assert_raises(SyntaxError) do + assert_raise(SyntaxError) do eval(%{ "hello"f "world" }) |