summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/lib/completions/fmt.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lib/completions/fmt.exp b/test/lib/completions/fmt.exp
index fcf8a922..28570682 100644
--- a/test/lib/completions/fmt.exp
+++ b/test/lib/completions/fmt.exp
@@ -11,7 +11,9 @@ proc teardown {} {
setup
-assert_complete_any "fmt -"
+if {[assert_exec {fmt --help} "" "" "unsupported"]} {
+ assert_complete_any "fmt -"
+}; # if
sync_after_int