From 2ac4c237e346880aa1d26e63acfab0196b4f722a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulysse=20G=C3=A9rard?= Date: Fri, 17 May 2024 09:31:26 +0200 Subject: [PATCH] test: make test reproducible --- tests/test-dirs/inconsistent-assumptions.t | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/test-dirs/inconsistent-assumptions.t b/tests/test-dirs/inconsistent-assumptions.t index dd7546fe5f..4c50abbe06 100644 --- a/tests/test-dirs/inconsistent-assumptions.t +++ b/tests/test-dirs/inconsistent-assumptions.t @@ -66,13 +66,10 @@ Do an update that breaks the build: $ cd _build $ $OCAMLC -c -w @a-40-41-42-49-70 -short-paths -open My_lib__ -o my_lib__Import import.ml $ $OCAMLC -c -w @a-40-41-42-49-70 -short-paths -open My_lib__ -o my_lib__Bar bar.ml - $ $OCAMLC -c -w @a-40-41-42-49-70 -short-paths -open My_lib__ -o my_lib__Foo foo.ml + $ $OCAMLC -c -w @a-40-41-42-49-70 -short-paths -open My_lib__ -o my_lib__Foo foo.ml 2>&1 | head -n 3 File "foo.ml", line 4, characters 11-12: 4 | let x, _ = x + 1, Bar.b ^ - Error: This expression has type char but an expression was expected of type - int - [2] $ cd .. Go to the file, and ask merlin to move you to the error: