Skip to content

Commit aca9819

Browse files
committed
Fix doctests
1 parent 7bf3d1e commit aca9819

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/runtests.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,9 @@ include("test_pipesyntax.jl")
497497
include("test_macros.jl")
498498

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

503505
end

0 commit comments

Comments
 (0)