[OCaml] PR21901: Update tests.

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
This commit is contained in:
Peter Zotov 2014-12-24 01:58:45 +00:00
parent 0357f8735e
commit e6ac2bc5fa

View 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;