Skip to content

Commit

Permalink
test(init): add repro for #7108 (#8320)
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Millon <me@emillon.org>
  • Loading branch information
emillon authored Aug 2, 2023
1 parent d01a2b7 commit e1d80db
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/blackbox-tests/test-cases/dune-init/github7108.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#7108: foo-bar is a valid public name, we should accept it.

$ dune init lib foo_bar --public foo-bar
dune: option '--public': invalid component name `foo-bar'
Library names must be non-empty and composed only of the
following
characters: 'A'..'Z', 'a'..'z', '_' or '0'..'9'.
Usage: dune init library [OPTION]… NAME [PATH]
Try 'dune init library --help' or 'dune --help' for more information.
[1]

0 comments on commit e1d80db

Please sign in to comment.