test: handle linter warning on string literals

This commit is contained in:
Michele Caini
2023-12-20 10:08:13 +01:00
parent f34dbcd7d8
commit 6e665b27bf

View File

@@ -55,7 +55,7 @@ TEST(Dot, CustomWriter) {
}
});
const std::string expected = "digraph{0[label=\"v0\",shape=\"box\"];1[label=\"v1\"];2[label=\"v2\"];0->1;0->2;1->2;}";
const std::string expected = R"(digraph{0[label="v0",shape="box"];1[label="v1"];2[label="v2"];0->1;0->2;1->2;})";
const auto str = output.str();
ASSERT_FALSE(str.empty());