Skip to content

Commit

Permalink
Fix test errors on Julia nightly (#895)
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion authored Oct 2, 2023
1 parent 7219d57 commit 77e63df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/rankcorr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ end
@test_throws DimensionMismatch corspearman([1], [1, 2])
@test_throws DimensionMismatch corspearman([1], [1 2; 3 4])
@test_throws DimensionMismatch corspearman([1 2; 3 4], [1])
@test_throws ArgumentError corspearman([1 2; 3 4: 4 6], [1 2; 3 4])
@test_throws ArgumentError corspearman([1 2; 3 4; 4 6], [1 2; 3 4])

# TODO: fix corkendall to match corspearman (PR#659)
@test_throws ErrorException corkendall([1], [1, 2])
@test_throws ErrorException corkendall([1], [1 2; 3 4])
@test_throws ErrorException corkendall([1 2; 3 4], [1])
@test_throws ArgumentError corkendall([1 2; 3 4: 4 6], [1 2; 3 4])
@test_throws ErrorException corkendall([1 2; 3 4; 4 6], [1 2; 3 4])

0 comments on commit 77e63df

Please sign in to comment.