Skip to content

Commit 3a17655

Browse files
authored
Generalize exception type (#227)
In preparation for JuliaLang/julia#41885
1 parent 51f2260 commit 3a17655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_array.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const AG = ArchGDAL;
171171
nbands = 0,
172172
dtype = UInt8,
173173
) do dataset
174-
@test_throws ArgumentError AG.RasterDataset(dataset)
174+
@test_throws Union{ArgumentError,MethodError} AG.RasterDataset(dataset)
175175
@test_throws DimensionMismatch AG._common_size(dataset)
176176
end
177177
end

0 commit comments

Comments
 (0)