diff options
Diffstat (limited to 't/chainlint/exclamation.test')
-rw-r--r-- | t/chainlint/exclamation.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/t/chainlint/exclamation.test b/t/chainlint/exclamation.test new file mode 100644 index 0000000000..796de21b7c --- /dev/null +++ b/t/chainlint/exclamation.test @@ -0,0 +1,10 @@ +test_expect_success 'exclamation' ' +# LINT: "! word" is two tokens +if ! condition; then echo nope; else yep; fi && +# LINT: "!word" is single token, not two tokens "!" and "word" +test_prerequisite !MINGW && +# LINT: "word!word" is single token, not three tokens "word", "!", and "word" +mail uucp!address && +# LINT: "!word!" is single token, not three tokens "!", "word", and "!" +echo !whatever! +' |