Commit a3febf79 authored by tmaruyama's avatar tmaruyama
Browse files

scm: bazaar: add diff test to unit lib test

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent a1b9b40b
......@@ -52,6 +52,13 @@ begin
assert_nil'doc-mkdir.txt', '12345678')
def test_diff
diff1 = @adapter.diff('doc-mkdir.txt', 3, 2)
assert_equal 21, diff1.size
buf = diff1[14].gsub(/\r\n|\r|\n/, "")
assert_equal "-Display more information.", buf
def test_diff_path_invalid
assert_equal [], @adapter.diff('invalid', 1)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment