From b51ef5e869d9411d6c91255fd81c87219615309f Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Tue, 27 Apr 2021 13:18:39 +0900 Subject: [PATCH] test: explicitly specify the comment preservation --- tests/test_serialize_file.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_serialize_file.cpp b/tests/test_serialize_file.cpp index b5c408e..7e1d8e1 100644 --- a/tests/test_serialize_file.cpp +++ b/tests/test_serialize_file.cpp @@ -127,8 +127,8 @@ BOOST_AUTO_TEST_CASE(test_example_with_comment_nocomment) BOOST_TEST(!has_comment_inside(serialized)); } { - const auto data_nocomment = toml::parse("toml/tests/example.toml"); - auto serialized = toml::parse("tmp1_com_nocomment.toml"); + const auto data_nocomment = toml::parse("toml/tests/example.toml"); + auto serialized = toml::parse("tmp1_com_nocomment.toml"); { auto& owner = toml::find(serialized, "owner"); auto& bio = toml::find(owner, "bio"); @@ -182,8 +182,8 @@ BOOST_AUTO_TEST_CASE(test_example_with_comment_map_dq_nocomment) BOOST_TEST(!has_comment_inside(serialized)); } { - const auto data_nocomment = toml::parse("toml/tests/example.toml"); - auto serialized = toml::parse("tmp1_com_map_dq_nocomment.toml"); + const auto data_nocomment = toml::parse("toml/tests/example.toml"); + auto serialized = toml::parse("tmp1_com_map_dq_nocomment.toml"); { auto& owner = toml::find(serialized, "owner"); auto& bio = toml::find(owner, "bio");