From bacda2de1c9d25ef8f49cb10b545f8832e135630 Mon Sep 17 00:00:00 2001 From: Shon Feder Date: Fri, 30 Sep 2022 18:36:13 -0400 Subject: [PATCH] Update cram test Signed-off-by: Shon Feder --- test/blackbox-tests/test-cases/github3046.t | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/blackbox-tests/test-cases/github3046.t b/test/blackbox-tests/test-cases/github3046.t index 3e69b68328c3..cfb9536e1f05 100644 --- a/test/blackbox-tests/test-cases/github3046.t +++ b/test/blackbox-tests/test-cases/github3046.t @@ -9,8 +9,8 @@ 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 @@ -18,8 +18,8 @@ are given as parameters $ 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 @@ -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]