From 7d79d326b5cf39358d9d2fae64b3ac776079866b Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Sun, 25 Nov 2018 00:15:11 -0800 Subject: [PATCH] test completions: we accept floats now --- share/completions/test.fish | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/share/completions/test.fish b/share/completions/test.fish index a09e9c2db..a240650af 100644 --- a/share/completions/test.fish +++ b/share/completions/test.fish @@ -6,14 +6,14 @@ complete -c test -f -s a -d "Logical AND" complete -c test -f -s o -d "Logical OR" complete -c test -f -s n -d "String length is non-zero" complete -c test -f -s z -d "String length is zero" -complete -c test -f -a = -d "Strings are equal" -complete -c test -f -a != -d "Strings are not equal" -complete -c test -f -o eq -d "Integers are equal" -complete -c test -f -o ge -d "Left integer larger than or equal to right integer" -complete -c test -f -o gt -d "Left integer larger than right integer" -complete -c test -f -o le -d "Left integer less than or equal to right integer" -complete -c test -f -o lt -d "Left integer less than right integer" -complete -c test -f -o ne -d "Left integer not equal to right integer" +complete -c test -f -a = -d "Strings are identical" +complete -c test -f -a != -d "Strings are not identical" +complete -c test -f -o eq -d "Numbers are equal" +complete -c test -f -o ge -d "Left number >= right number" +complete -c test -f -o gt -d "Left number > right number" +complete -c test -f -o le -d "Left number <= right number" +complete -c test -f -o lt -d "Left number < right number" +complete -c test -f -o ne -d "Left number != right number" # builtin test does not do these #complete -c test -o ef -d "Left file equal to right file" #complete -c test -o nt -d "Left file newer than right file"