Skip to content

Commit

Permalink
Fix tests on Julia v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed May 3, 2021
1 parent 4d9fd98 commit 8d12514
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/dispatch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,9 @@ end

@testset "Dispatch tests" begin
dispatch_tests(BigInt)
dispatch_tests(DummyBigInt)
if VERSION >= v"1.5"
# On `DummyBigInt` allocates more on previous releases of Julia
# as it's dynamically allocated
dispatch_tests(DummyBigInt)
end
end

0 comments on commit 8d12514

Please sign in to comment.