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 7219d57 commit 77e63dfCopy full SHA for 77e63df
test/rankcorr.jl
@@ -152,10 +152,10 @@ end
152
@test_throws DimensionMismatch corspearman([1], [1, 2])
153
@test_throws DimensionMismatch corspearman([1], [1 2; 3 4])
154
@test_throws DimensionMismatch corspearman([1 2; 3 4], [1])
155
-@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])
156
157
# TODO: fix corkendall to match corspearman (PR#659)
158
@test_throws ErrorException corkendall([1], [1, 2])
159
@test_throws ErrorException corkendall([1], [1 2; 3 4])
160
@test_throws ErrorException corkendall([1 2; 3 4], [1])
161
-@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 commit comments