Skip to content

Commit

Permalink
Change @test_warn to @test_logs for unit tests in v1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
zengfung committed Feb 5, 2022
1 parent a24a6ba commit 19b4b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/wavemult.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import WaveletsExt.WaveMult: dyadlength, stretchmatrix, ndyad, sft, isft
@testset "Utilities" begin
# dyadlength
@test dyadlength(zeros(16)) == dyadlength(16) == 4
@test_warn "Dyadlength n != 2^J" dyadlength(15)
@test_logs (:warn, "Dyadlength n != 2^J") dyadlength(15)

# stretchmatrix
i = [1,2,3,4]; j = copy(i)
Expand Down

0 comments on commit 19b4b2b

Please sign in to comment.