From 39ae88ad0dd0f8d7cf732e8567af13e7f2ce9748 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 11 Jun 2019 22:31:57 +0900 Subject: Refined syntax error messages --- test/ruby/test_syntax.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ruby') diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb index 8112b14690..f2fcf671aa 100644 --- a/test/ruby/test_syntax.rb +++ b/test/ruby/test_syntax.rb @@ -977,8 +977,8 @@ eom end def test_safe_call_in_massign_lhs - assert_syntax_error("*a&.x=0", /LHS/) - assert_syntax_error("a&.x,=0", /LHS/) + assert_syntax_error("*a&.x=0", /multiple assignment destination/) + assert_syntax_error("a&.x,=0", /multiple assignment destination/) end def test_no_warning_logop_literal -- cgit v1.2.3