aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_syntax.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_syntax.rb')
-rw-r--r--test/ruby/test_syntax.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb
index 4c4e840e5e..f3db9bcd48 100644
--- a/test/ruby/test_syntax.rb
+++ b/test/ruby/test_syntax.rb
@@ -746,7 +746,7 @@ eom
end
def test_heredoc_newline
- assert_warn(/contains newline/) do
+ assert_warn(/ends with a newline/) do
eval("<<\"EOS\n\"\nEOS\n")
end
end