Sha256: 303db083dbe48a831fcc3865bce78a032c2abf0b9e1bc45aa1b738b7fa169640
Contents?: true
Size: 490 Bytes
Versions: 5
Compression:
Stored size: 490 Bytes
Contents
require 'runit/testcase' require 'runit/cui/testrunner' require 'runit/testsuite' require 'diff' require 'emaildiff' require 'test_emailcases' class EmailDiffTest < RUNIT::TestCase include EmailDiffArrayTests def emailtest(a, b, c) #puts "old string:" #puts a #puts "new string:" #puts b diff = EmailDiff.new(a, b) d = a.patch_email(diff,888,999) #puts "result:" #puts d assert_equal(c,d) end end RUNIT::CUI::TestRunner.run(EmailDiffTest.suite)
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
diff-0.3.4.4 | test/test_emaildiff.rb |
diff-0.3.4.3 | test/test_emaildiff.rb |
diff-0.3.4.2 | test/test_emaildiff.rb |
diff-0.3.4.1 | test/test_emaildiff.rb |
diff-0.3.4 | test/test_emaildiff.rb |