Commit 53bcbf0
committed
tests: Fix tests if the HOST triple is too long
The HOST triple defaults to the current host and gets printed in the help output. The CLI tests
currently match it with `[..]`. However, if the triple is too long clap might introduce a line
break, which `[..]` can't handle.
Use `...` instead to match arbitrary lines at the position. Not elegant, but these are just smoke
tests to ensure there's no major probelm. They are not meant to ensure 100% stable output.
Fixes: #2261 parent eba3f0f commit 53bcbf0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments