aboutsummaryrefslogtreecommitdiff
path: root/tests/wordsplit.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wordsplit.at')
-rw-r--r--tests/wordsplit.at34
1 files changed, 33 insertions, 1 deletions
diff --git a/tests/wordsplit.at b/tests/wordsplit.at
index 0a9c4d6..0a7d7db 100644
--- a/tests/wordsplit.at
+++ b/tests/wordsplit.at
@@ -971,25 +971,57 @@ NF: 1
9710: 12 9710: 12
972TOTAL: 1 972TOTAL: 1
973]) 973])
974 974
975TESTWSP([$* and $@],[],['one two' three 'four five'], 975TESTWSP([$* and $@],[],['one two' three 'four five'],
976[$* 976[$*
977$@], 977$@
978"$*"
979"$@"],
978[NF: 5 980[NF: 5
9790: one 9810: one
9801: two 9821: two
9812: three 9832: three
9823: four 9843: four
9834: five 9854: five
984TOTAL: 5 986TOTAL: 5
985NF: 3 987NF: 3
9860: "one two" 9880: "one two"
9871: three 9891: three
9882: "four five" 9902: "four five"
989TOTAL: 3 991TOTAL: 3
992NF: 1
9930: "one two three four five"
994TOTAL: 1
995NF: 1
9960: "one two three four five"
997TOTAL: 1
998])
999
1000TESTWSP([$* and $@ in nosplit mode],[],
1001[-trimnl -nosplit 'one two' three 'four five'],
1002[$*
1003$@],
1004[NF: 1
10050: "one two three four five"
1006TOTAL: 1
1007NF: 1
10080: "one two three four five"
1009TOTAL: 1
1010])
1011
1012TESTWSP([$* and $@ in nosplit mode with delimiter],[],
1013[-trimnl -nosplit -delim : 'one two' three 'four five'],
1014[$*
1015$@],
1016[NF: 1
10170: "one two:three:four five"
1018TOTAL: 1
1019NF: 1
10200: "one two:three:four five"
1021TOTAL: 1
990]) 1022])
991 1023
992m4_popdef([TESTWSP]) 1024m4_popdef([TESTWSP])
993m4_popdef([wspnum]) 1025m4_popdef([wspnum])
994m4_popdef([wspid]) 1026m4_popdef([wspid])
995m4_popdef([genkw]) 1027m4_popdef([genkw])

Return to:

Send suggestions and report system problems to the System administrator.