Browse Source

Add unit test for edit_command.ml

Should avoid a part of bug #10
Leo 10 years ago
parent
commit
1ddb058754
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/test/ec_t.ml

+ 1 - 1
src/test/ec_t.ml

@@ -53,7 +53,7 @@ let gm1 () =
 ;;
 let gm2 () =
     let current = Edit_command.gen_modification [ "qw" ; "erty" ; "a" ; "zerty"] in
-    let expected = "\nqw\nerty\na\nzerty" in
+    let expected = "\nqw\nerty\na\nzerty\n" in
     OUnit.assert_equal current expected
 ;;