Skip to content

Commit

Permalink
test(init): sublibraries should be accepted
Browse files Browse the repository at this point in the history
  • Loading branch information
emillon committed Sep 7, 2023
1 parent ecbff41 commit 61df58f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/blackbox-tests/test-cases/dune-init/public-sublibrary.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Sub-library names should be accepted:

$ dune init lib lib_s1_s2 --public lib.sub1.sub2
dune: option '--public': invalid component name `lib.sub1.sub2'
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 61df58f

Please sign in to comment.