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 1763ffd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/runtests.jl
Expand Up @@ -24,6 +24,11 @@ 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.5"
@test contains(s, "\e[")
@test contains(s, "AbstractRange")
else
@test "\e[" s
@test "AbstractRange" s
end
end

0 comments on commit 1763ffd

Please sign in to comment.