test/rbbt/util/test_tsv.rb in rbbt-util-3.1.0 vs test/rbbt/util/test_tsv.rb in rbbt-util-3.2.0
- old
+ new
@@ -200,16 +200,22 @@
tchash = TCHash.get(tchashfile, true)
tsv1 = TSV.new(File.open(filename), :key => "ValueA", :persistence_data => tchash)
assert TCHash === tsv1.data
assert !tsv1.case_insensitive
assert tsv1.include? "A"
+ ddd tsv1.filename
tsv1 = TSV.new(tchash, :key => "ValueA")
assert TCHash === tsv1.data
assert !tsv1.case_insensitive
assert tsv1.include? "A"
+ ddd tsv1.filename
end
end
+ end
+
+ def test_with_hash
+ assert TSV === TSV.new {}, :list
end
end