ruby-changes:48034
From: hsbt <ko1@a...>
Date: Tue, 10 Oct 2017 13:54:53 +0900 (JST)
Subject: [ruby-changes:48034] hsbt:r60148 (trunk): Removed obsoleted test for RubyToken.
hsbt 2017-10-10 13:54:49 +0900 (Tue, 10 Oct 2017) New Revision: 60148 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60148 Log: Removed obsoleted test for RubyToken. [Bug #13991][ruby-core:83188] Patch by MSP-Greg. Removed files: trunk/test/rdoc/test_rdoc_ruby_token.rb Modified files: trunk/lib/rdoc.rb Index: test/rdoc/test_rdoc_ruby_token.rb =================================================================== --- test/rdoc/test_rdoc_ruby_token.rb (revision 60147) +++ test/rdoc/test_rdoc_ruby_token.rb (nonexistent) @@ -1,20 +0,0 @@ https://github.com/ruby/ruby/blob/trunk/test/rdoc/test_rdoc_ruby_token.rb#L0 -# frozen_string_literal: false -require 'rdoc/test_case' - -class TestRDocRubyToken < RDoc::TestCase - - def test_Token_text - token = RDoc::RubyToken::Token.new 0, 0, 0, 'text' - - assert_equal 'text', token.text - end - - def test_TkOp_name - token = RDoc::RubyToken::TkOp.new 0, 0, 0, '&' - - assert_equal '&', token.text - assert_equal '&', token.name - end - -end - Property changes on: test/rdoc/test_rdoc_ruby_token.rb ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -LF \ No newline at end of property Index: lib/rdoc.rb =================================================================== --- lib/rdoc.rb (revision 60147) +++ lib/rdoc.rb (revision 60148) @@ -149,7 +149,6 @@ module RDoc https://github.com/ruby/ruby/blob/trunk/lib/rdoc.rb#L149 autoload :KNOWN_CLASSES, 'rdoc/known_classes' autoload :RipperStateLex, 'rdoc/parser/ripper_state_lex' - autoload :RubyToken, 'rdoc/ruby_token' autoload :TokenStream, 'rdoc/token_stream' autoload :Comment, 'rdoc/comment' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/