test/test_emaildiff.rb in diff-0.3.2 vs test/test_emaildiff.rb in diff-0.3.3

- old
+ new

@@ -6,21 +6,19 @@ require 'test_emailcases' class EmailDiffTest < RUNIT::TestCase include DiffArrayTests - def difftest(a, b, c) #puts "old string:" #puts a #puts "new string:" #puts b - diff = Diff.new(a, b) - d = a.collapse(diff,888,999) + diff = EmailDiff.new(a, b) + d = a.patch(diff,888,999) #puts "result:" - #puts c + #puts d assert_equal(c,d) end end - RUNIT::CUI::TestRunner.run(EmailDiffTest.suite)