summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYuichiro Kaneko <spiketeika@gmail.com>2022-09-26 09:38:24 +0900
committergit <svn-admin@ruby-lang.org>2022-09-26 09:38:40 +0900
commitd89f8a046753e2f166ee252510aadf1579dbcd63 (patch)
treee1c725b0f59088c5f8a438f696830228b2db7263 /test
parent1481e6828ccbd42efe8c1a92620b2942fc089790 (diff)
[ruby/rdoc] Fix ruby script in "test_parse_method_bracket" (https://github.com/ruby/rdoc/pull/927)
Because it's syntax error. https://github.com/ruby/rdoc/commit/993f2532ff
Diffstat (limited to 'test')
-rw-r--r--test/rdoc/test_rdoc_parser_ruby.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rdoc/test_rdoc_parser_ruby.rb b/test/rdoc/test_rdoc_parser_ruby.rb
index ef8ad91668..76fb28808c 100644
--- a/test/rdoc/test_rdoc_parser_ruby.rb
+++ b/test/rdoc/test_rdoc_parser_ruby.rb
@@ -1960,10 +1960,10 @@ end
def test_parse_method_bracket
util_parser <<-RUBY
class C
- def [] end
- def self.[] end
- def []= end
- def self.[]= end
+ def []; end
+ def self.[]; end
+ def []=; end
+ def self.[]=; end
end
RUBY