diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-22 18:56:06 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-22 18:56:06 +0900 |
commit | 02ad393cd6bd87a7cc21ef71d5b21ad0f3fe2f34 (patch) | |
tree | 92a273a63391a9930a1a69a8c1b4fefda93b6f78 /test/ruby/test_syntax.rb | |
parent | d6ec8da689ae097e442219b7feab491120060cba (diff) |
Revert "Allow simple R-assign in endless def"
This reverts commit 67bcac879a2e0ddfb4e7bbd7cb5e5401422de76a.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3051
Diffstat (limited to 'test/ruby/test_syntax.rb')
-rw-r--r-- | test/ruby/test_syntax.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb index ddb813fef9..2f81d72959 100644 --- a/test/ruby/test_syntax.rb +++ b/test/ruby/test_syntax.rb @@ -1419,7 +1419,6 @@ eom assert_valid_syntax('private def inc(x) = x + 1') assert_valid_syntax('private def obj.foo = 42') assert_valid_syntax('private def obj.inc(x) = x + 1') - assert_valid_syntax('private def obj.inc(x) = x + 1 => @x') end def test_methoddef_in_cond |