From 6a49bd72f018018c7867c4126f106fa7fa8bce4d Mon Sep 17 00:00:00 2001 From: Chris de Graaf Date: Fri, 20 Sep 2019 13:43:29 +0700 Subject: [PATCH] Fix some tests on 1.3+ --- test/template.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/template.jl b/test/template.jl index 6fde029..ab39b2a 100644 --- a/test/template.jl +++ b/test/template.jl @@ -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()