Explorar o código

test: handle linter warning on string literals

Michele Caini %!s(int64=2) %!d(string=hai) anos
pai
achega
6e665b27bf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/entt/graph/dot.cpp

+ 1 - 1
test/entt/graph/dot.cpp

@@ -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());