From 611f8787648899f2184b8372516fa6a4597b53ba Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Wed, 27 Oct 2021 21:00:37 +0200 Subject: [PATCH] proof that fonsi did something useful today --- test/ExpressionExplorer.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/ExpressionExplorer.jl b/test/ExpressionExplorer.jl index c8db638385..4055846109 100644 --- a/test/ExpressionExplorer.jl +++ b/test/ExpressionExplorer.jl @@ -611,6 +611,8 @@ Some of these @test_broken lines are commented out to prevent printing to the te @test ExpressionExplorer.external_package_names(:(using Plots, Something.Else, .LocalModule)) == Set([:Plots, :Something]) @test ExpressionExplorer.external_package_names(:(import Plots.A: b, c)) == Set([:Plots]) - @test ExpressionExplorer.external_package_names(:(import Foo as Bar, Baz.Naz as Jazz)) == Set([:Foo, :Baz]) + if VERSION >= v"1.6.0" + @test ExpressionExplorer.external_package_names(Meta.parse("import Foo as Bar, Baz.Naz as Jazz")) == Set([:Foo, :Baz]) + end end end