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