1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Removed obsoleted test for RubyToken.

[Bug #13991][ruby-core:83188] Patch by MSP-Greg.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2017-10-10 04:54:49 +00:00
parent f05f1ecb2d
commit 6d86ee593a
2 changed files with 0 additions and 21 deletions

View file

@ -149,7 +149,6 @@ module RDoc
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'

View file

@ -1,20 +0,0 @@
# 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