Skip to content

Commit

Permalink
use new $ dune ocaml top in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <[email protected]>
  • Loading branch information
rgrinberg committed Nov 12, 2020
1 parent aa3c22d commit 221ca17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/blackbox-tests/test-cases/toplevel-integration.t/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ Test toplevel-init-file on a tiny project
> let hello () = print_endline "hello"
> EOF

$ dune top
$ dune ocaml top
#directory "$TESTCASE_ROOT/_build/default/.test.objs/byte";;
#directory "$TESTCASE_ROOT/_build/default/.test.objs/native";;
#load "$TESTCASE_ROOT/_build/default/test.cma";;

$ ocaml -stdin <<EOF
> #use "topfind";;
> #use "use_output_compat";;
> #use_output "dune top";;
> #use_output "dune ocaml top";;
> Test.Main.hello ();;
> EOF
hello
Expand All @@ -31,7 +31,7 @@ Test toplevel-init-file on a tiny project
> let oops () = undefined_function ()
> EOF

$ dune top
$ dune ocaml top
File "error.ml", line 1, characters 14-32:
1 | let oops () = undefined_function ()
^^^^^^^^^^^^^^^^^^
Expand All @@ -41,7 +41,7 @@ Test toplevel-init-file on a tiny project
$ ocaml -stdin <<EOF
> #use "topfind";;
> #use "use_output_compat";;
> #use_output "dune top";;
> #use_output "dune ocaml top";;
> EOF
File "error.ml", line 1, characters 14-32:
1 | let oops () = undefined_function ()
Expand Down

0 comments on commit 221ca17

Please sign in to comment.