chiark
/
gitweb
/
~ianmdlvl
/
nailing-cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d08eb9
)
t/writer.t: Add test cases for quoted keys
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 2 Aug 2020 21:25:58 +0000
(22:25 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 2 Aug 2020 22:01:24 +0000
(23:01 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
TOML-Tiny/t/writer.t
patch
|
blob
|
history
diff --git
a/TOML-Tiny/t/writer.t
b/TOML-Tiny/t/writer.t
index f88e5a6fbe9b10acd83cdea5d8d21e1f70bfb394..5f4124ef605acbe95b9ed3afca9d7955c5b19088 100644
(file)
--- a/
TOML-Tiny/t/writer.t
+++ b/
TOML-Tiny/t/writer.t
@@
-67,6
+67,15
@@
hosts = [
"omega"
]
+[cfg."something with a 'single-quote'".nested]
+inner = "forty-one"
+
+[cfg.'something with a "double-quote"'.nested]
+inner = "forty-two"
+
+[cfg."something with a 'single-quote' and a \"double-quote\"".nested]
+inner = "forty-three"
+
[[products]]
name = "Hammer"
sku = 738594937