From c594dec368c7d383abd20f472f81fad28832a472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Sat, 18 Feb 2023 11:33:03 +0100 Subject: [PATCH] Add test for #7108 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Reynir Björnsson --- test/blackbox-tests/test-cases/github7108.t | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/blackbox-tests/test-cases/github7108.t diff --git a/test/blackbox-tests/test-cases/github7108.t b/test/blackbox-tests/test-cases/github7108.t new file mode 100644 index 00000000000..9e7c703842d --- /dev/null +++ b/test/blackbox-tests/test-cases/github7108.t @@ -0,0 +1,9 @@ +---------------------------------------------------------------------------------- +Testsuite for https://github.com/ocaml/dune/issues/7108 +`dune init` should allow dashes in `--public` names +---------------------------------------------------------------------------------- + +`dune init lib mirage_pair --public mirage-pair` creates public library mirage-pair + + $ dune init lib mirage_pair --public mirage-pair + Success: initialized library component named mirage_pair