Skip to content

Commit 6bd6afe

Browse files
committed
Fix tests for 1.0
1 parent edf1a70 commit 6bd6afe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/mutualinfo.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ using Clustering
2828
@test mutualinfo(a1, a2; method=:adjusted, aggregate=:min) 0.4348 atol=1.0e-4
2929

3030
# test errors
31-
@test_throws "ArgumentError: `normed` kwarg is not compatible with `method` kwarg" mutualinfo(a1, a2; method=:adjusted, normed=false)
32-
@test_throws "ArgumentError: mutualinfo(): `method=:adjusfted` is not supported" mutualinfo(a1, a2; method=:adjusfted, aggregate=:min)
33-
@test_throws "ArgumentError: mutualinfo(): unsupported kwargs used." mutualinfo(a1, a2; method=:adjusted, notaggregate=:min)
34-
@test_throws "ArgumentError: mutualinfo(): unsupported kwargs used." mutualinfo(a1, a2; method=:classic, notaggregate=:min)
31+
@test_throws "`normed` kwarg is not compatible with `method` kwarg" mutualinfo(a1, a2; method=:adjusted, normed=false)
32+
@test_throws "mutualinfo(): `method=:adjusfted` is not supported" mutualinfo(a1, a2; method=:adjusfted, aggregate=:min)
33+
@test_throws "mutualinfo(): unsupported kwargs used." mutualinfo(a1, a2; method=:adjusted, notaggregate=:min)
34+
@test_throws "mutualinfo(): unsupported kwargs used." mutualinfo(a1, a2; method=:classic, notaggregate=:min)
3535

3636
end

0 commit comments

Comments
 (0)