Skip to content

Commit 753fe91

Browse files
committed
fix tests on 1.9
1 parent 38d498f commit 753fe91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/_basic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ end
151151
N2 = NamedDimsArray(KeyedArray(data, axiskeys(N1)), dimnames(N1))
152152
N3 = KeyedArray(NamedDimsArray(data, dimnames(N1)), axiskeys(N1))
153153

154-
@testset "with $(typeof(N).name) outside" for N in [N2, N3]
154+
@testset "with $(typeof(N).name) outside" for N in (N2, N3)
155155
@test axiskeys(N) == (['a', 'b', 'c'], 10:10:40)
156156
@test axiskeys(N, :iter) == 10:10:40
157157
@test dimnames(N) == (:obs, :iter)

test/_functions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ end
104104
sort!(A)
105105
@test A(:a) == 1
106106
@test axiskeys(A, 1) == [:b, :a]
107-
@test_throws Exception sort!(KeyedArray([1,0], 'a':'b'))
107+
@test_throws CanonicalIndexError sort!(KeyedArray([1,0], 'a':'b'))
108108

109109
# sortkeys
110110
B = wrapdims(rand(Int8,3,7), 🚣=rand(Int8,3), 🏛=rand(Int8,7))

0 commit comments

Comments
 (0)