Fix some tests on 1.3+

This commit is contained in:
Chris de Graaf 2019-09-20 13:43:29 +07:00
parent 89e0ed5356
commit 6a49bd72f0
No known key found for this signature in database
GPG Key ID: 150FFDD9B0073C7B

View File

@ -28,7 +28,7 @@
@testset "plugins / disabled_defaults" begin
function test_plugins(plugins, expected, disabled=DataType[])
t = tpl(; plugins=plugins, disable_defaults=disabled)
@test issetequal(t.plugins, expected)
@test all(map(==, sort(t.plugins; by=string), sort(expected; by=string)))
end
defaults = PT.default_plugins()