From 1b68845b00eaf259e1a72b8fc93794a195c173f7 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Wed, 19 Dec 2018 22:24:20 -0500 Subject: [PATCH] test: Fix up token vet test I forgot some of the cases to catch earlier. --- test/test-govet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-govet.sh b/test/test-govet.sh index a9130043..91b4364f 100755 --- a/test/test-govet.sh +++ b/test/test-govet.sh @@ -29,7 +29,7 @@ function token-coloncheck() { return 1 # tokens must end with a colon fi # tokens must be upper case - if grep -E "[t][Oo][Dd][Oo]|[Tt][Oo][Dd][o]|[f][Ii][Xx][Mm][Ee]|[Ff][Ii][Xx][Mm][e]|[x][Xx][Xx]|[Xx][Xx][x]" "$1"; then + if grep -E "[t][Oo][Dd][Oo]|[Tt][o][Dd][Oo]|[Tt][Oo][d][Oo]|[Tt][Oo][Dd][o]|[f][Ii][Xx][Mm][Ee]|[Ff][i][Xx][Mm][Ee]|[Ff][Ii][x][Mm][Ee]|[Ff][Ii][Xx][m][Ee]|[Ff][Ii][Xx][Mm][e]|[x][Xx][Xx]|[Xx][x][Xx]|[Xx][Xx][x]" "$1"; then return 1 fi return 0