Skip to content

Commit b119af4

Browse files
committed
Fix
1 parent 9c07189 commit b119af4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/chuffed.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ normalize(x) = replace(x, "\r\n" => "\n")
1414

1515
@testset "one_solution.fzn" begin
1616
out_string = Chuffed.run_chuffed(@__DIR__() * "/assets/one_solution.fzn")
17-
@test normalize(out_string) == "x = 10;\n\n----------\n==========\n"
17+
expected = "x = 10;\n\n----------\n==========\n"
18+
unk = "% [<UNKNOWN>]\n"
19+
@test normalize(out_string) == expected || normalize(out_string) == expected * unk
1820
end
1921

2022
@testset "several_solutions.fzn" begin

0 commit comments

Comments
 (0)