diff options
author | Yuichiro Kaneko <spiketeika@gmail.com> | 2022-09-26 09:38:24 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-09-26 09:38:40 +0900 |
commit | d89f8a046753e2f166ee252510aadf1579dbcd63 (patch) | |
tree | e1c725b0f59088c5f8a438f696830228b2db7263 | |
parent | 1481e6828ccbd42efe8c1a92620b2942fc089790 (diff) | |
download | ruby-d89f8a046753e2f166ee252510aadf1579dbcd63.tar.gz |
[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
-rw-r--r-- | test/rdoc/test_rdoc_parser_ruby.rb | 8 |
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 |