aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/lexer
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/test/script/lexer')
-rw-r--r--unit-tests/test/script/lexer/command-line.test2
-rw-r--r--unit-tests/test/script/lexer/description-line.test2
-rw-r--r--unit-tests/test/script/lexer/first-token.test2
-rw-r--r--unit-tests/test/script/lexer/script-line.test2
-rw-r--r--unit-tests/test/script/lexer/second-token.test2
-rw-r--r--unit-tests/test/script/lexer/variable-line.test2
-rw-r--r--unit-tests/test/script/lexer/variable.test2
7 files changed, 7 insertions, 7 deletions
diff --git a/unit-tests/test/script/lexer/command-line.test b/unit-tests/test/script/lexer/command-line.test
index acb7d1d..38e5954 100644
--- a/unit-tests/test/script/lexer/command-line.test
+++ b/unit-tests/test/script/lexer/command-line.test
@@ -1,4 +1,4 @@
-test.arguments += command-line
+test.arguments = command-line
$* <:"0<+" >>EOO # in-pass-redirect
'0'
diff --git a/unit-tests/test/script/lexer/description-line.test b/unit-tests/test/script/lexer/description-line.test
index 1d317eb..0f70e77 100644
--- a/unit-tests/test/script/lexer/description-line.test
+++ b/unit-tests/test/script/lexer/description-line.test
@@ -1,4 +1,4 @@
-test.arguments += description-line
+test.arguments = description-line
$* <" foo bar " >>EOO # full
' foo bar '
diff --git a/unit-tests/test/script/lexer/first-token.test b/unit-tests/test/script/lexer/first-token.test
index 456ef6d..d42e0b2 100644
--- a/unit-tests/test/script/lexer/first-token.test
+++ b/unit-tests/test/script/lexer/first-token.test
@@ -1,6 +1,6 @@
# Note: this mode auto-expires after each token.
#
-test.arguments += first-token
+test.arguments = first-token
$* <";" >>EOO # semi
;
diff --git a/unit-tests/test/script/lexer/script-line.test b/unit-tests/test/script/lexer/script-line.test
index 44f6002..7870871 100644
--- a/unit-tests/test/script/lexer/script-line.test
+++ b/unit-tests/test/script/lexer/script-line.test
@@ -1,4 +1,4 @@
-test.arguments += script-line
+test.arguments = script-line
$* <"cmd;" >>EOO # semi
'cmd'
diff --git a/unit-tests/test/script/lexer/second-token.test b/unit-tests/test/script/lexer/second-token.test
index 5238a82..94cdf95 100644
--- a/unit-tests/test/script/lexer/second-token.test
+++ b/unit-tests/test/script/lexer/second-token.test
@@ -1,6 +1,6 @@
# Note: this mode auto-expires after each token.
#
-test.arguments += second-token
+test.arguments = second-token
$* <";" >>EOO # semi
;
diff --git a/unit-tests/test/script/lexer/variable-line.test b/unit-tests/test/script/lexer/variable-line.test
index 543c6f9..126fe54 100644
--- a/unit-tests/test/script/lexer/variable-line.test
+++ b/unit-tests/test/script/lexer/variable-line.test
@@ -1,4 +1,4 @@
-test.arguments += variable-line
+test.arguments = variable-line
$* <"cmd;" >>EOO # semi
'cmd'
diff --git a/unit-tests/test/script/lexer/variable.test b/unit-tests/test/script/lexer/variable.test
index 302a8b1..0ecc6cc 100644
--- a/unit-tests/test/script/lexer/variable.test
+++ b/unit-tests/test/script/lexer/variable.test
@@ -1,6 +1,6 @@
# Test handling custom variable names ($*, $~, $NN).
#
-test.arguments += variable
+test.arguments = variable
$* <"*" >>EOO
'*'