Skip to content

Commit fc3afff

Browse files
authored
Merge pull request #346 from queryverse/fix-doctests
Fix doctests for Julia 1.10
2 parents f0bacf7 + ae470f1 commit fc3afff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/sources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ println(result)
8888
8989
# output
9090
91-
NamedTuple{(:Name, :Friendcount), Tuple{String, Int64}}[(Name = "John", Friendcount = 3)]
91+
@NamedTuple{Name::String, Friendcount::Int64}[(Name = "John", Friendcount = 3)]
9292
```
9393

9494
## IndexedTables

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,6 @@ include("test_macros.jl")
500500
# Int32 otherwise. Also only run on Julia 1.6 and newer, because
501501
# a lot of output printing was changed and doctests now can't be written
502502
# to work on multiple Julia versions.
503-
Int==Int64 && VERSION>=v"1.6" && doctest(Query)
503+
Int==Int64 && VERSION>=v"1.10" && doctest(Query)
504504

505505
end

0 commit comments

Comments
 (0)