Skip to content

Commit

Permalink
Tests: swap hfun between js and wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Jan 25, 2025
1 parent e3bdaa8 commit 774d8e8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions compiler/tests-ocaml/lib-hashtbl/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
(deps ../../../LICENSE)
(modules hfun)
(libraries)
(modes js))
(modes wasm))

(tests
(names hfun_wasm)
(names hfun_js)
(deps ../../../LICENSE)
(modules hfun_wasm)
(modules hfun_js)
(libraries)
(modes wasm))
(modes js))

(rule
(copy hfun.ml hfun_wasm.ml))
(copy hfun.ml hfun_js.ml))

(tests
(names htbl)
Expand Down
12 changes: 6 additions & 6 deletions compiler/tests-ocaml/lib-hashtbl/hfun.expected
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
2^30-1 23c392d0
-2^30 0c66fde3
-- Floats:
+0.0 07be548a
-0.0 07be548a
+0.0 0f478b8c
-0.0 0f478b8c
+infty 23ea56fb
-infty 059f7872
NaN 3228858d
NaN#2 3228858d
NaN#3 3228858d
-- Native integers:
0 07be548a
0 3f19274a
-1 3653e015
42 1792870b
2^30-1 23c392d0
-2^30 0c66fde3
42 3e33aef8
2^30-1 3711bf46
-2^30 2e71f39c
-- Lists:
[0..10] 0ade0fc9
[0..12] 0ade0fc9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
2^30-1 23c392d0
-2^30 0c66fde3
-- Floats:
+0.0 0f478b8c
-0.0 0f478b8c
+0.0 07be548a
-0.0 07be548a
+infty 23ea56fb
-infty 059f7872
NaN 3228858d
NaN#2 3228858d
NaN#3 3228858d
-- Native integers:
0 3f19274a
0 07be548a
-1 3653e015
42 3e33aef8
2^30-1 3711bf46
-2^30 2e71f39c
42 1792870b
2^30-1 23c392d0
-2^30 0c66fde3
-- Lists:
[0..10] 0ade0fc9
[0..12] 0ade0fc9
Expand Down

0 comments on commit 774d8e8

Please sign in to comment.