From 76324851b58652d05c92c084f3274748261ca1a4 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 18 Nov 2017 16:11:55 +0100 Subject: [PATCH] tests: fixup arg handling for update-all-references This script does not take any args, so $1 being empty is expected. --- tests/ui/update-all-references.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ui/update-all-references.sh b/tests/ui/update-all-references.sh index d6aa69c7e8d..acc38f15fbd 100755 --- a/tests/ui/update-all-references.sh +++ b/tests/ui/update-all-references.sh @@ -18,7 +18,7 @@ # # See all `update-references.sh`, if you just want to update a single test. -if [[ "$1" == "--help" || "$1" == "-h" || "$1" == "" ]]; then +if [[ "$1" == "--help" || "$1" == "-h" ]]; then echo "usage: $0" fi