Skip to content

Commit

Permalink
proof that fonsi did something useful today
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Oct 27, 2021
1 parent c65fa48 commit 611f878
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/ExpressionExplorer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 611f878

Please sign in to comment.