Skip to content

Commit

Permalink
Fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanthoff committed Apr 4, 2021
1 parent 7bf3d1e commit aca9819
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,9 @@ include("test_pipesyntax.jl")
include("test_macros.jl")

# Only run doctests on 64, all the output checks get messed up with
# Int32 otherwise
Int==Int64 && doctest(Query)
# Int32 otherwise. Also only run on Julia 1.6 and newer, because
# a lot of output printing was changed and doctests now can't be written
# to work on multiple Julia versions.
Int==Int64 && VERSION>=v"1.6" && doctest(Query)

end

0 comments on commit aca9819

Please sign in to comment.