From 4c2633c55a968b3d3a7085f021f33d5109f0a233 Mon Sep 17 00:00:00 2001 From: tecosaur Date: Thu, 15 Feb 2024 10:16:43 +0800 Subject: [PATCH] Fix results.json generation after chunk-splitting (#53335) Should fix the problem raised in https://github.com/JuliaLang/julia/pull/53323#issuecomment-1943007134. --- test/buildkitetestjson.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/buildkitetestjson.jl b/test/buildkitetestjson.jl index 336f9cb4ee181..8410913e48ef2 100644 --- a/test/buildkitetestjson.jl +++ b/test/buildkitetestjson.jl @@ -29,7 +29,7 @@ function json_repr(io::IO, val::String; indent::Int=0) end json_repr(io::IO, val::Integer; indent::Int=0) = print(io, val) json_repr(io::IO, val::Float64; indent::Int=0) = print(io, val) -function json_repr(io::IO, val::Vector; indent::Int=0) +function json_repr(io::IO, val::AbstractVector; indent::Int=0) print(io, '[') for elt in val print(io, '\n', ' '^(indent + 2))