Skip to content

Commit 1f93213

Browse files
Merge pull request #171 from ChrisRackauckas-Claude/explicit-imports-20251229-104530
Add ExplicitImports.jl tests for import hygiene
2 parents f369938 + 15ab571 commit 1f93213

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

Project.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,10 @@ NonlinearProblemLibrary = "0.1"
2121
ODEProblemLibrary = "1"
2222
SDEProblemLibrary = "1"
2323
julia = "1.10"
24+
25+
[extras]
26+
ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7"
27+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
28+
29+
[targets]
30+
test = ["ExplicitImports", "Test"]

test/runtests.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
11
# The test is simply that all of the examples build!
22
using DiffEqProblemLibrary
3+
using ExplicitImports
4+
using Test
5+
6+
@testset "ExplicitImports" begin
7+
@test check_no_implicit_imports(DiffEqProblemLibrary) === nothing
8+
@test check_no_stale_explicit_imports(DiffEqProblemLibrary) === nothing
9+
end

0 commit comments

Comments
 (0)