Skip to content

Commit

Permalink
Update cram test
Browse files Browse the repository at this point in the history
Signed-off-by: Shon Feder <[email protected]>
  • Loading branch information
shonfeder committed Oct 1, 2022
1 parent aa28cec commit bacda2d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/blackbox-tests/test-cases/github3046.t
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ are given as parameters
$ dune init exe main --libs="str gsl"
dune: option '--libs': invalid element in list ('str gsl'): expected a valid
dune atom
Usage: dune init [OPTION]… COMPONENT NAME [PATH]
Try 'dune init --help' or 'dune --help' for more information.
Usage: dune init executable [OPTION]… NAME [PATH]
Try 'dune init executable --help' or 'dune --help' for more information.
[1]

`dune init lib foo --ppx="foo bar"` returns an informative parsing error

$ dune init lib foo --ppx="foo bar"
dune: option '--ppx': invalid element in list ('foo bar'): expected a valid
dune atom
Usage: dune init [OPTION]… COMPONENT NAME [PATH]
Try 'dune init --help' or 'dune --help' for more information.
Usage: dune init library [OPTION]… NAME [PATH]
Try 'dune init library --help' or 'dune --help' for more information.
[1]

`dune init lib foo --public="some/invalid&name!"` returns an informative parsing error
Expand All @@ -29,6 +29,6 @@ are given as parameters
Library names must be non-empty and composed only of the
following
characters: 'A'..'Z', 'a'..'z', '_' or '0'..'9'.
Usage: dune init [OPTION]… COMPONENT NAME [PATH]
Try 'dune init --help' or 'dune --help' for more information.
Usage: dune init library [OPTION]… NAME [PATH]
Try 'dune init library --help' or 'dune --help' for more information.
[1]

0 comments on commit bacda2d

Please sign in to comment.