aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test/iftoken.bin.t
diff options
context:
space:
mode:
Diffstat (limited to 'travis/test/iftoken.bin.t')
-rw-r--r--travis/test/iftoken.bin.t26
1 files changed, 26 insertions, 0 deletions
diff --git a/travis/test/iftoken.bin.t b/travis/test/iftoken.bin.t
new file mode 100644
index 00000000..dbc06bba
--- /dev/null
+++ b/travis/test/iftoken.bin.t
@@ -0,0 +1,26 @@
+N "": ntoken empty
+C "": ntoken empty
+N "ZMACRO": ntoken empty
+C "ZMACRO": ntoken empty
+N "NMACRO": token nempty
+C "NMACRO": token nempty
+N "TMACRO": ntoken nempty
+C "TMACRO": ntoken nempty
+N "1": token nempty
+C "1": token nempty
+N "+1": ntoken nempty
+C "+1": ntoken nempty
+N "1 2": ntoken nempty
+C "1 2": ntoken nempty
+N "1,2": ntoken nempty
+C "1,2": ntoken nempty
+N "foo": token nempty
+C "foo": token nempty
+N "foo bar": ntoken nempty
+C "foo bar": ntoken nempty
+N "%": token nempty
+C "%": token nempty
+N "+foo": ntoken nempty
+C "+foo": ntoken nempty
+N "<<": token nempty
+C "<<": token nempty