Skip to content

Commit 221ca17

Browse files
committed
use new $ dune ocaml top in tests
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
1 parent aa3c22d commit 221ca17

File tree

1 file changed

+4
-4
lines changed
  • test/blackbox-tests/test-cases/toplevel-integration.t

1 file changed

+4
-4
lines changed

test/blackbox-tests/test-cases/toplevel-integration.t/run.t

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ Test toplevel-init-file on a tiny project
1414
> let hello () = print_endline "hello"
1515
> EOF
1616

17-
$ dune top
17+
$ dune ocaml top
1818
#directory "$TESTCASE_ROOT/_build/default/.test.objs/byte";;
1919
#directory "$TESTCASE_ROOT/_build/default/.test.objs/native";;
2020
#load "$TESTCASE_ROOT/_build/default/test.cma";;
2121

2222
$ ocaml -stdin <<EOF
2323
> #use "topfind";;
2424
> #use "use_output_compat";;
25-
> #use_output "dune top";;
25+
> #use_output "dune ocaml top";;
2626
> Test.Main.hello ();;
2727
> EOF
2828
hello
@@ -31,7 +31,7 @@ Test toplevel-init-file on a tiny project
3131
> let oops () = undefined_function ()
3232
> EOF
3333

34-
$ dune top
34+
$ dune ocaml top
3535
File "error.ml", line 1, characters 14-32:
3636
1 | let oops () = undefined_function ()
3737
^^^^^^^^^^^^^^^^^^
@@ -41,7 +41,7 @@ Test toplevel-init-file on a tiny project
4141
$ ocaml -stdin <<EOF
4242
> #use "topfind";;
4343
> #use "use_output_compat";;
44-
> #use_output "dune top";;
44+
> #use_output "dune ocaml top";;
4545
> EOF
4646
File "error.ml", line 1, characters 14-32:
4747
1 | let oops () = undefined_function ()

0 commit comments

Comments
 (0)