Skip to content

Commit 5b1a711

Browse files
fix: match dot viz emitter test by matching the escapte quote form
1 parent b457a08 commit 5b1a711

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/unit/viz_dot_emitter_test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ TEST(DotEmitter, FormatsStructuredTransformParams) {
8585

8686
const std::string dot = viz::emit_dot(spec);
8787

88-
EXPECT_NE(dot.find("config={name=\"fir\", taps=[1, 2]}"), std::string::npos);
88+
EXPECT_NE(dot.find("config={name=\\\"fir\\\", taps=[1, 2]}"),
89+
std::string::npos);
8990
}
9091

9192
TEST(DotEmitter, ReportsExtensionTransformTypesSortedAndUnique) {

0 commit comments

Comments
 (0)