mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/alias-candidates.t

19 lines
475 B
Perl
Raw Normal View History

2025-11-11 02:07:51 +01:00
Dune should suggest similar aliases when it cannot find one.
$ cat > dune-project << EOF
> (lang dune 3.7)
> EOF
$ cat > dune << EOF
> (rule
> (alias foo)
> (action
> (echo "Hello, world from \"foo\"!")))
> EOF
We have an alias "foo" but let's try to build something misspeled:
$ dune build @fou
Error: Alias "fou" specified on the command line is empty.
It is not defined in . or any of its descendants.
Hint: did you mean fmt or foo?
[1]