diff --git a/test/test_js_of_ocaml.ml b/test/test_js_of_ocaml.ml index 66925ef0..501748ce 100644 --- a/test/test_js_of_ocaml.ml +++ b/test/test_js_of_ocaml.ml @@ -1,6 +1,6 @@ open Picos let () = - Printf.printf "Hello, from js_of_ocaml with Picos!\n%!"; let trigger = Trigger.create () in - Trigger.signal trigger + Trigger.signal trigger; + match Trigger.await trigger with None -> () | Some _ -> assert false