Skip to content

Commit b8214ad

Browse files
committed
fix toDot tests for GraphsDFG
1 parent 7e153da commit b8214ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/testBlocks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1426,7 +1426,7 @@ function ProducingDotFiles(testDFGAPI,
14261426
addVariable!(dotdfg, v2)
14271427
addFactor!(dotdfg, [v1, v2], f1)
14281428
#NOTE hardcoded toDot will have different results so test LightGraphs seperately
1429-
if testDFGAPI <: LightDFG || testDFGAPI <: CloudGraphsDFG
1429+
if testDFGAPI <: LightDFG || testDFGAPI <: GraphsDFG || testDFGAPI <: CloudGraphsDFG
14301430
todotstr = toDot(dotdfg)
14311431
todota = todotstr == "graph G {\na [color=red, shape=ellipse];\nb [color=red, shape=ellipse];\nabf1 [color=blue, shape=box, fontsize=8, fixedsize=false, height=0.1, width=0.1];\na -- abf1\nb -- abf1\n}\n"
14321432
todotb = todotstr == "graph G {\na [color=red, shape=ellipse];\nb [color=red, shape=ellipse];\nabf1 [color=blue, shape=box, fontsize=8, fixedsize=false, height=0.1, width=0.1];\nb -- abf1\na -- abf1\n}\n"

0 commit comments

Comments
 (0)