Răsfoiți Sursa

test: handle linter warning on string literals

Michele Caini 2 ani în urmă
părinte
comite
6e665b27bf
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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();
     const auto str = output.str();
 
 
     ASSERT_FALSE(str.empty());
     ASSERT_FALSE(str.empty());