Sha256: 70a2d37215fb391ef9b7f435c1c1da968876d9f81fdf778d544a2affd504220a

Contents?: true

Size: 340 Bytes

Versions: 20

Compression:

Stored size: 340 Bytes

Contents

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

Version data entries

20 entries across 16 versions & 3 rubygems

Version Path
rdoc-4.3.0 test/test_rdoc_ruby_token.rb
rdoc-4.2.2 test/test_rdoc_ruby_token.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/rdoc-4.1.1/test/test_rdoc_ruby_token.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/rdoc-4.1.1/test/test_rdoc_ruby_token.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/rdoc-4.1.1/test/test_rdoc_ruby_token.rb
rdoc-4.2.1 test/test_rdoc_ruby_token.rb
rdoc-4.2.0 test/test_rdoc_ruby_token.rb
rdoc-4.1.2 test/test_rdoc_ruby_token.rb
rdoc-4.1.1 test/test_rdoc_ruby_token.rb
rdoc-4.1.0 test/test_rdoc_ruby_token.rb
rdoc-4.1.0.preview.3 test/test_rdoc_ruby_token.rb
candlepin-api-0.4.0 bundle/ruby/gems/rdoc-4.0.1/test/test_rdoc_ruby_token.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/rdoc-4.0.1/test/test_rdoc_ruby_token.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/rdoc-4.0.1/test/test_rdoc_ruby_token.rb
rdoc-4.0.1 test/test_rdoc_ruby_token.rb
rdoc-4.0.0 test/test_rdoc_ruby_token.rb
rdoc-4.0.0.rc.2.1 test/test_rdoc_ruby_token.rb
rdoc-4.0.0.rc.2 test/test_rdoc_ruby_token.rb
rdoc-4.0.0.preview2.1 test/test_rdoc_ruby_token.rb
rdoc-4.0.0.preview2 test/test_rdoc_ruby_token.rb