We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87a8da1 commit 1f35d81Copy full SHA for 1f35d81
test/arrays.jl
@@ -171,10 +171,12 @@ _skip(v) = collect(skipmissing(v))
171
end
172
173
## Check that the appropriate errors are thrown
174
- v1 = categorical([v0[1:end-1];"strange_level"])
+ v1 = categorical([v0[1:end-1]...;"strange_level"])
175
v2 = [v0...;rand(rng, v0)] #length(u) !== length(v2)
176
+ v3 = categorical([vm[end:-1:begin+1]...;"strange_level"])
177
@test_throws DimensionMismatch broadcast(pdf, u, v2)
178
@test_throws DomainError broadcast(pdf, u, v1)
179
+ @test_throws DomainError broadcast(pdf, u, v3)
180
181
182
0 commit comments