Skip to content

Commit

Permalink
Use @test_deprecated for testing the method deprecated in #580
Browse files Browse the repository at this point in the history
This silences the warning emitted by tests.
  • Loading branch information
martinholters committed Nov 14, 2024
1 parent 8902bef commit a08cbbe
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 a08cbbe

Please sign in to comment.