summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-10-31 14:26:34 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-10-31 14:26:34 +0000
commit0d85fa3fd0f9f036b4ca269a15fce0f0c5348ffe (patch)
tree15bd5ab7acea2209bad04e8a0fa6b3b84c7e822a /test/scripts
parent7a0743ebc40671a7093c235f7ee7d2030aa75fc3 (diff)
Add warning about missing colon to invalid expansion when it involved
${if def:h_xxx (overlooked previously).
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/0000-Basic/00022
1 files changed, 2 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002
index 19e1e856a..c9757718b 100644
--- a/test/scripts/0000-Basic/0002
+++ b/test/scripts/0000-Basic/0002
@@ -578,6 +578,8 @@ ${if and {xyz}{a}{b}}
${if and {{xya}}{a}{b}}
${if and {{${lookup{x}lsearch{/a/b}}}}{a}{b}}
${if eq {$h_xyz}{1}{y}{n}}
+${if eq {$h_xyz:}{1}{y}{n}
+${if def:h_xyz}{y}{n}}
${if or {eq {}{}{yes}{no}}
${if or {{eq {}{}{yes}{no}}
${if or {{eq {}{}}{yes}{no}}