Skip to content

Commit 729d7a6

Browse files
authored
Update log line checks in test_model.jl
1 parent 1e6d94e commit 729d7a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/test_model.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,12 @@ function test_printing()
258258
return
259259
end
260260
contents = read(joinpath(dir, "log.txt"), String)
261-
for line in [
261+
for line in Any[
262262
"Algorithm: KirlikSayin",
263263
"1 0.00000e+00 0.00000e+00",
264264
"----------------------------------------------",
265265
"termination_status: OPTIMAL",
266-
"result_count: 10",
266+
r"result_count: [0-9]+",
267267
"Time spent in subproblems: ",
268268
]
269269
@test occursin(line, contents)

0 commit comments

Comments
 (0)