Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Moelf committed Dec 11, 2021
1 parent c39d132 commit c607ded
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/runtests.jl
Expand Up @@ -24,6 +24,12 @@ using Test, OhMyREPL, CodeTracking

s = read(rd, String)
redirect_stdout(original_stdout)
@test contains(s, "\e[")
@test contains(s, "AbstractRange")
@static if VERSION > v"1.0"
@test contains(s, "\e[")
@test contains(s, "AbstractRange")
else
@test "\e[" s
@test "AbstractRange" s

end
end

0 comments on commit c607ded

Please sign in to comment.