From 431a99b5569e90dd76677be273ad81640ce7e757 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 1 Sep 2019 01:44:36 +0900 Subject: Split warning messages for tag-jump --- test/ruby/test_syntax.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_syntax.rb') diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb index 85ff68ec25..b98a233937 100644 --- a/test/ruby/test_syntax.rb +++ b/test/ruby/test_syntax.rb @@ -155,7 +155,7 @@ class TestSyntax < Test::Unit::TestCase h = {k3: 31} assert_raise(ArgumentError) {o.kw(**h)} h = {"k1"=>11, k2: 12} - assert_warn(/The last argument for `kw' .* is split into positional and keyword parameters/) do + assert_warn(/The last argument is split into positional and keyword parameters.* for `kw'/m) do assert_raise(ArgumentError) {o.kw(**h)} end end -- cgit v1.2.3