aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-08 19:39:27 +0800
committercrupest <crupest@outlook.com>2022-01-08 19:39:27 +0800
commit45ae34c5f31eca1258f6df278c9862ff829f39db (patch)
tree83ab2109478d40834415d5e3902cd7f1c71eeb21 /test
parent41c1593e2aa9dbb2cde5e054ceb7be667dc2a5d1 (diff)
downloadcru-45ae34c5f31eca1258f6df278c9862ff829f39db.tar.gz
cru-45ae34c5f31eca1258f6df278c9862ff829f39db.tar.bz2
cru-45ae34c5f31eca1258f6df278c9862ff829f39db.zip
...
Diffstat (limited to 'test')
-rw-r--r--test/toml/ParserTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/toml/ParserTest.cpp b/test/toml/ParserTest.cpp
index 5bbb5fe7..426eb54c 100644
--- a/test/toml/ParserTest.cpp
+++ b/test/toml/ParserTest.cpp
@@ -9,17 +9,17 @@ TEST(CruTomlParserTest, Simple) {
TomlParser parser(
uR"(
a1 = v1
-"a2" = "v2"
+a2 = v2
# comment
[s1]
# comment
a3 = v3
-"a4" = "v4"
+a4 = v4
[s2]
a5 = v5
-"a6" = "v6"
+a6 = v6
)");
auto document = parser.Parse();
ASSERT_EQ(document.GetSection(u"")->GetValue(u"a1"), u"v1");