aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-10-23 09:56:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-10-23 09:56:28 +0200
commit439c55fa780eddb5819f67ab76a4a6bfec8bb4e7 (patch)
tree98d6cd04a875bb84e73e9c78d8f906f43957e964 /tests
parent030035bd25b3ededb2f78be1f576f2fe0e7d9c90 (diff)
Treat invalid names as values if they are quoted
Diffstat (limited to 'tests')
-rw-r--r--tests/value/reverse.testscript12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/value/reverse.testscript b/tests/value/reverse.testscript
index 6294d3f..1b3dbf7 100644
--- a/tests/value/reverse.testscript
+++ b/tests/value/reverse.testscript
@@ -39,13 +39,23 @@
foo@bar foo/@bar/ foo@ @bar @ @@
EOO
- : combined
+ : proj-pair
:
$* <<EOI >>EOO
print ([strings] xx%foo@yy%bar xx%foo/@yy%bar/)
EOI
xx%foo@yy%bar xx%foo/@yy%bar/
EOO
+
+ : invalid
+ :
+ : We should be able to represent an invalid name provided it is quoted.
+ :
+ $* <<EOI >>EOO
+ print ([strings] "pkcs11:object=SIGN%20key")
+ EOI
+ pkcs11:object=SIGN%20key
+ EOO
}
: dir-path