summaryrefslogtreecommitdiff
path: root/test/ruby/test_module.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-06-03 20:50:40 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-06-03 20:50:40 +0900
commit73a31546aa2ceaa4de1ae9d52b1b46993a3f2be6 (patch)
treecdef709c30cb078b85ce901bc375613d85d669df /test/ruby/test_module.rb
parent4589056384cdc8ed7c8a99713b216b7176ff49b9 (diff)
Attrset name is not allowed as an attribute
Diffstat (limited to 'test/ruby/test_module.rb')
-rw-r--r--test/ruby/test_module.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb
index b915a6ee8f..81c5345a5f 100644
--- a/test/ruby/test_module.rb
+++ b/test/ruby/test_module.rb
@@ -2870,6 +2870,7 @@ class TestModule < Test::Unit::TestCase
def test_invalid_attr
%W[
+ foo=
foo?
@foo
@@foo