forked from ocaml/dune
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(init): sublibraries should be accepted
- Loading branch information
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
test/blackbox-tests/test-cases/dune-init/public-sublibrary.t
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] |