Skip to content

Commit af2ebb2

Browse files
committed
Fix JS tests with newer js_of_ocaml
Signed-off-by: Etienne Millon <[email protected]>
1 parent 0dbc4ed commit af2ebb2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/blackbox-tests/test-cases/js_of_ocaml/bin/technologic.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
module Js = Js_of_ocaml.Js
12

23
let _ =
34
print_endline X.buy_it;
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
module Js = Js_of_ocaml.Js
2+
13
let buy_it = "buy " ^ Y.it
2-
let print x = Js_of_ocaml.Js.to_string x##.name
4+
let print x = Js.to_string x##.name
35
external external_print : Js.js_string Js.t -> unit = "jsPrint"

0 commit comments

Comments
 (0)