Skip to content

Commit 77e63df

Browse files
authored
Fix test errors on Julia nightly (#895)
1 parent 7219d57 commit 77e63df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/rankcorr.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,10 @@ end
152152
@test_throws DimensionMismatch corspearman([1], [1, 2])
153153
@test_throws DimensionMismatch corspearman([1], [1 2; 3 4])
154154
@test_throws DimensionMismatch corspearman([1 2; 3 4], [1])
155-
@test_throws ArgumentError corspearman([1 2; 3 4: 4 6], [1 2; 3 4])
155+
@test_throws ArgumentError corspearman([1 2; 3 4; 4 6], [1 2; 3 4])
156156

157157
# TODO: fix corkendall to match corspearman (PR#659)
158158
@test_throws ErrorException corkendall([1], [1, 2])
159159
@test_throws ErrorException corkendall([1], [1 2; 3 4])
160160
@test_throws ErrorException corkendall([1 2; 3 4], [1])
161-
@test_throws ArgumentError corkendall([1 2; 3 4: 4 6], [1 2; 3 4])
161+
@test_throws ErrorException corkendall([1 2; 3 4; 4 6], [1 2; 3 4])

0 commit comments

Comments
 (0)