diff --git a/docs/src/sources.md b/docs/src/sources.md index a3c11e3..b968189 100644 --- a/docs/src/sources.md +++ b/docs/src/sources.md @@ -88,7 +88,7 @@ println(result) # output -NamedTuple{(:Name, :Friendcount), Tuple{String, Int64}}[(Name = "John", Friendcount = 3)] +@NamedTuple{Name::String, Friendcount::Int64}[(Name = "John", Friendcount = 3)] ``` ## IndexedTables diff --git a/test/runtests.jl b/test/runtests.jl index 0359ba3..8b851d1 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -500,6 +500,6 @@ include("test_macros.jl") # 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) +Int==Int64 && VERSION>=v"1.10" && doctest(Query) end