Skip to content

Commit 1c17940

Browse files
committed
Update test files
1 parent 10a878a commit 1c17940

File tree

5 files changed

+3
-8
lines changed

5 files changed

+3
-8
lines changed

tests/tests/src/condition_compilation_test.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ function eq(loc, x, y) {
3333
};
3434
}
3535

36-
eq("File \"condition_compilation_test.res\", line 63, characters 5-12", 3, 3);
36+
eq("File \"condition_compilation_test.res\", line 60, characters 5-12", 3, 3);
3737

38-
eq("File \"condition_compilation_test.res\", line 64, characters 5-12", v.contents, 2);
38+
eq("File \"condition_compilation_test.res\", line 61, characters 5-12", v.contents, 2);
3939

4040
Mt.from_pair_suites("Condition_compilation_test", suites.contents);
4141

tests/tests/src/condition_compilation_test.res

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@ type open_flag =
1515
| O_DSYNC
1616
| O_SYNC
1717
| O_RSYNC
18-
1918
| O_SHARE_DELETE
20-
2119
| O_CLOEXEC
22-
2320
| O_KEEPEXEC
2421

2522
let vv = 3

tests/tests/src/gpr_1822_test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ let area;
3434

3535
area = myShape.TAG === "Circle" ? 100 * 3.14 : 10 * myShape._1 | 0;
3636

37-
eq("File \"gpr_1822_test.res\", line 23, characters 3-10", area, 314);
37+
eq("File \"gpr_1822_test.res\", line 22, characters 3-10", area, 314);
3838

3939
Mt.from_pair_suites("Gpr_1822_test", suites.contents);
4040

tests/tests/src/gpr_1822_test.res

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ let eq = (loc, x, y) => {
1111

1212
type shape =
1313
| Circle(int)
14-
1514
| Rectangle(int, int)
1615

1716
let myShape = Circle(10)

tests/tests/src/test_seq.res

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ type rec spec =
2929
| Set_float(ref<float>) /* Set the reference to the float argument */
3030
| Tuple(list<spec>) /* Take several arguments according to the
3131
spec list */
32-
3332
| Symbol(list<string>, string => unit)
3433
/* Take one of the symbols as argument and
3534
call the function with the symbol. */

0 commit comments

Comments
 (0)