Skip to content

Commit 387b412

Browse files
committed
CI: fix test
1 parent f8070eb commit 387b412

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/runtests.jl

+4-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ end
4242
],
4343
"2017-01-01T02:00:00",
4444
"2017-01-01T02:00:15"
45-
) isa Vector{SpeasyVariable}
45+
) isa Vector{<:SpeasyVariable}
4646

4747

4848
# More complex requests
@@ -54,7 +54,9 @@ end
5454
spz.inventories.tree.ssc.Trajectories.wind,
5555
]
5656
intervals = [["2010-01-02", "2010-01-02T10"], ["2009-08-02", "2009-08-02T10"]]
57-
@test get_data(products, intervals) isa Vector{Vector{SpeasyVariable}}
57+
data = get_data(products, intervals)
58+
@test data isa Vector{Vector}
59+
@test data[1] isa Vector{<:SpeasyVariable}
5860
end
5961

6062
@testitem "TimeSeriesExt.jl" begin

0 commit comments

Comments
 (0)