Skip to content

Commit 489a3be

Browse files
committed
Fix tests
1 parent 3cd3770 commit 489a3be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+2824
-311
lines changed

tests/tests/src/UntaggedVariants.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/tests/src/UntaggedVariants.res

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
module Array = Ocaml_Array
2+
13
@unboxed
24
type t = A | I(int) | S(string)
35
@unboxed

tests/tests/src/alias_test.res

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
module String = Ocaml_String
2+
13
let a0 = "hello "
24

35
let a1 = a0

tests/tests/src/array_safe_get.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/tests/src/array_safe_get.res

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
module Array = Ocaml_Array
2+
13
let x = [1, 2]
24
let y = try x[3] catch {
35
| Invalid_argument(msg) =>

tests/tests/src/array_subtle_test.js

Lines changed: 13 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/tests/src/array_subtle_test.res

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
module Array = Ocaml_Array
2+
13
let suites: ref<Mt.pair_suites> = ref(list{})
24
let test_id = ref(0)
35
let eq = (loc, (x, y)) => {

tests/tests/src/async_await.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/tests/src/bdd.js

Lines changed: 8 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/tests/src/bdd.res

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
/* Translated to Caml by Xavier Leroy */
1616
/* Original code written in SML by ... */
1717

18+
module Array = Ocaml_Array
19+
1820
type rec bdd = One | Zero | Node(bdd, int, int, bdd)
1921

2022
let rec eval = (bdd, vars) =>

tests/tests/src/belt_hashmap_test.js

Lines changed: 13 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/tests/src/belt_hashmap_test.res

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
open Mocha
22
open Test_utils
33

4+
module Hashtbl = Ocaml_Hashtbl
45
module N = Belt.HashMap
56
module S = Belt.Map.Int
67
module I = Array_data_util

0 commit comments

Comments
 (0)