From 214a7f8d49c7b59d06f5e2e3e1a8a3567ab7c570 Mon Sep 17 00:00:00 2001 From: hsbt Date: Tue, 12 Sep 2017 03:42:54 +0000 Subject: Merge rdoc-6.0.0.beta2 from upstream. * This version changed lexer used Ripper from lexer based IRB. see details: https://github.com/ruby/rdoc/pull/512 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rdoc/test_rdoc_any_method.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/rdoc/test_rdoc_any_method.rb') diff --git a/test/rdoc/test_rdoc_any_method.rb b/test/rdoc/test_rdoc_any_method.rb index fdbb62efa6..fdfb0f3995 100644 --- a/test/rdoc/test_rdoc_any_method.rb +++ b/test/rdoc/test_rdoc_any_method.rb @@ -74,7 +74,7 @@ method(a, b) { |c, d| ... } def test_markup_code tokens = [ - RDoc::RubyToken::TkCONSTANT. new(0, 0, 0, 'CONSTANT'), + { :line_no => 0, :char_no => 0, :kind => :on_const, :text => 'CONSTANT' }, ] @c2_a.collect_tokens -- cgit v1.2.3