From d640b221ec9e15a62f8dff7311652092b098fb1d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 2 Aug 2020 22:25:58 +0100 Subject: [PATCH] t/writer.t: Add test cases for quoted keys Signed-off-by: Ian Jackson --- TOML-Tiny/t/writer.t | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.30.2