[OCaml] PR21901: Update tests.
authorPeter Zotov <whitequark@whitequark.org>
Wed, 24 Dec 2014 01:58:45 +0000 (01:58 +0000)
committerPeter Zotov <whitequark@whitequark.org>
Wed, 24 Dec 2014 01:58:45 +0000 (01:58 +0000)
This finishes the fix partially applied by r224782.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224802 91177308-0d34-0410-b5e6-96231b3b80d8

test/Bindings/OCaml/linker.ml

index ac4b958ccc422e153d270a1b7201bf8510ae7b36..1ea0be9d3dc3205008c54f39ba7d97fad8880113 100644 (file)
@@ -39,7 +39,7 @@ let test_linker () =
 
   let m1 = make_module "one"
   and m2 = make_module "two" in
-  link_modules m1 m2 Mode.PreserveSource;
+  link_modules m1 m2;
   dispose_module m1;
   dispose_module m2;
 
@@ -51,7 +51,7 @@ let test_linker () =
   let m1 = make_module "one"
   and m2 = make_module "one" in
   try
-    link_modules m1 m2 Mode.PreserveSource;
+    link_modules m1 m2;
     failwith "must raise"
   with Error _ ->
     dispose_module m1;