From: Ian Jackson Date: Sun, 2 Aug 2020 21:25:58 +0000 (+0100) Subject: t/writer.t: Add test cases for quoted keys X-Git-Tag: nailing-cargo/1.0.0~61 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d640b221ec9e15a62f8dff7311652092b098fb1d;p=nailing-cargo.git t/writer.t: Add test cases for quoted keys Signed-off-by: Ian Jackson --- diff --git a/TOML-Tiny/t/writer.t b/TOML-Tiny/t/writer.t index f88e5a6..5f4124e 100644 --- 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