Skip to content

Commit

Permalink
Use @test_deprecated for testing the method deprecated in #580 (#587)
Browse files Browse the repository at this point in the history
This silences the warning emitted by tests.
  • Loading branch information
martinholters authored Nov 18, 2024
1 parent 0ac932b commit 811e157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ end
@test nextfastfft(65) == 70
@test nextfastfft(127) == 128
@test nextfastfft((64,65,127)) == (64,70,128)
@test nextfastfft(64,65,127) == nextfastfft((64,65,127))
@test @test_deprecated(nextfastfft(64,65,127)) == nextfastfft.((64,65,127))
end

## COMMON DSP TOOLS
Expand Down

0 comments on commit 811e157

Please # to comment.