We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6d7819 commit 51dd253Copy full SHA for 51dd253
test/blackbox-tests/test-cases/runtest-cmd-hints.t
@@ -0,0 +1,22 @@
1
+Test the "did you mean" hints for dune runtest command.
2
+
3
+ $ cat > dune-project <<EOF
4
+ > (lang dune 3.21)
5
+ > EOF
6
7
+ $ mkdir dir.t other_dir
8
+ $ cat > dir.t/run.t <<EOF
9
+ > $ echo "Directory-based cram test"
10
+ > Directory-based cram test
11
12
+ $ cat > dir_t
13
14
+ $ dune test dip.t
15
+ Error: "dip.t" does not match any known test.
16
+ Hint: did you mean dir_t or dir.t?
17
+ [1]
18
19
+ $ dune test other_dip
20
+ Error: "other_dip" does not match any known test.
21
+ Hint: did you mean other_dir?
22
0 commit comments