Skip to content

Commit a1d241d

Browse files
committed
Show colorful output for basic tests
1 parent 08e8a0a commit a1d241d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ using Test, IOCapture
77
println()
88
println("Showing the output of one test run:")
99
println("-"^80)
10-
c = IOCapture.capture(passthrough=true) do
10+
c = IOCapture.capture(passthrough=true, color=true) do
1111
runtests(["--verbose"])
1212
end
1313
println("-"^80)
1414
println()
15-
@test contains(c.output, r"basic .+ started at")
15+
@test contains(c.output, r"basic.*started at")
1616
@test contains(c.output, "SUCCESS")
1717
end
1818

0 commit comments

Comments
 (0)