Sha256: 47bcc6c5b74f571fc09ec3aabad7401e8da9f0a575dc31f08b010d43a34d8373

Contents?: true

Size: 401 Bytes

Versions: 24

Compression:

Stored size: 401 Bytes

Contents

require 'test/unit'

require 'rd/rdfmt'
require 'rd/element'

include RD

class TestRDTree < Test::Unit::TestCase
  def test_s_new
    tr = RDTree.new("=begin\nTEST\n=end\n")
    assert_kind_of(DocumentElement, tr.root)

    tr_not_parse = RDTree.new("=begin\nTEST\n=end\n", ["test/data"], false)
    assert_nil(tr_not_parse.root)
    assert_equal(["test/data"], tr_not_parse.include_paths)
  end
end

Version data entries

24 entries across 23 versions & 2 rubygems

Version Path
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/rdtool-0.6.38/test/test-rdtree.rb
tdiary-5.0.8 vendor/bundle/gems/rdtool-0.6.38/test/test-rdtree.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/rdtool-0.6.38/test/test-rdtree.rb
tdiary-5.0.5 vendor/bundle/gems/rdtool-0.6.38/test/test-rdtree.rb
tdiary-5.0.4 vendor/bundle/gems/rdtool-0.6.38/test/test-rdtree.rb
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/rdtool-0.6.38/test/test-rdtree.rb
tdiary-3.2.2.20130518 vendor/rdtool-0.6.38/test/test-rdtree.rb
tdiary-3.2.2.20130508 vendor/rdtool-0.6.38/test/test-rdtree.rb
tdiary-3.2.2.20130507 vendor/rdtool-0.6.38/test/test-rdtree.rb
rdtool-0.6.38 test/test-rdtree.rb
rdtool-0.6.37 test/test-rdtree.rb
rdtool-0.6.36 test/test-rdtree.rb
rdtool-0.6.35 test/test-rdtree.rb
rdtool-0.6.34 test/test-rdtree.rb
rdtool-0.6.33 test/test-rdtree.rb
rdtool-0.6.32 test/test-rdtree.rb
rdtool-0.6.31 test/test-rdtree.rb
rdtool-0.6.30 test/test-rdtree.rb
rdtool-0.6.29 test/test-rdtree.rb
rdtool-0.6.28 test/test-rdtree.rb