Sha256: f20a8d2b53c2add24c38ef7cad69b5ce77b103ae3ae4c5a459595726b4f7ff97

Contents?: true

Size: 579 Bytes

Versions: 124

Compression:

Stored size: 579 Bytes

Contents

require 'rdoc/test_case'

class TestRDocRd < RDoc::TestCase

  def test_class_parse
    expected =
      @RM::Document.new(
        @RM::Paragraph.new('hello'))

    assert_equal expected, RDoc::RD.parse("hello")
  end

  def test_class_parse_begin_end
    expected =
      @RM::Document.new(
        @RM::Paragraph.new('hello'))

    assert_equal expected, RDoc::RD.parse("=begin\nhello\n=end\n")
  end

  def test_class_parse_newline
    expected =
      @RM::Document.new(
        @RM::Paragraph.new('hello'))

    assert_equal expected, RDoc::RD.parse("hello\n")
  end

end

Version data entries

124 entries across 98 versions & 24 rubygems

Version Path
rdoc-4.3.0 test/test_rdoc_rd.rb
rdoc-4.2.2 test/test_rdoc_rd.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/rdoc-4.1.1/test/test_rdoc_rd.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/rdoc-4.1.1/test/test_rdoc_rd.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/rdoc-4.1.1/test/test_rdoc_rd.rb
rdoc-4.2.1 test/test_rdoc_rd.rb
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rdoc-3.12.1/test/test_rdoc_rd.rb
rdoc-4.2.0 test/test_rdoc_rd.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/rdoc-3.12.2/test/test_rdoc_rd.rb
rdoc-4.1.2 test/test_rdoc_rd.rb
rdoc-4.1.1 test/test_rdoc_rd.rb
rdoc-4.1.0 test/test_rdoc_rd.rb
rdoc-4.1.0.preview.3 test/test_rdoc_rd.rb
candlepin-api-0.4.0 bundle/ruby/gems/rdoc-4.0.1/test/test_rdoc_rd.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/rdoc-4.0.1/test/test_rdoc_rd.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/rdoc-4.0.1/test/test_rdoc_rd.rb
swipe-rails-0.0.5 vendor/bundle/gems/rdoc-3.12.2/test/test_rdoc_rd.rb
active_mailer-0.0.9 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rdoc-3.12.1/test/test_rdoc_rd.rb
active_mailer-0.0.8 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rdoc-3.12.1/test/test_rdoc_rd.rb
active_mailer-0.0.7 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rdoc-3.12.1/test/test_rdoc_rd.rb