Skip to content

Commit 2d289eb

Browse files
committed
fix test
1 parent 9a04799 commit 2d289eb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/interfaceTests.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,12 @@ end
6262
String(take!(iobuf)) == "DFGFactor{TestCCW{TestFunctorInferenceType1}}\nlabel:\n:abf1\ntags:\nSet([:tag1, :tag2])\nsolvable:\n0\nsolvable:\n1\n_variableOrderSymbols:\n[:a, :b]\n"
6363

6464
@test printFactor(iobuf, fac1, short=true) == nothing
65-
@test occursin(r"DFGFactor.*\nlabel.*\ntimestamp.*\ntags.*\nsolvable", String(take!(iobuf)))
65+
@show teststr = String(take!(iobuf))
66+
@test occursin(r"DFGFactor", teststr)
67+
@test occursin(r"label", teststr)
68+
@test occursin(r"timestamp", teststr)
69+
@test occursin(r"tags", teststr)
70+
@test occursin(r"solvable", teststr)
6671

6772
# s = String(take!(iobuf))
6873

0 commit comments

Comments
 (0)