Skip to content

Commit ab4899b

Browse files
committed
Wrap test files in modules
1 parent 1b991fd commit ab4899b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

test/benchmark.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
module _benchmark
2+
13
using Pkg; Pkg.activate(joinpath(dirname(@__DIR__), "benchmark"))
24
using DAECompiler
35
using DAECompiler: compute_residual_vectors
@@ -22,3 +24,5 @@ end
2224
let sol = solve(DAECProblem(Benchmark{3}(), [1:9;] .=> 0.), IDA())
2325
@test_broken sol.retcode == ReturnCode.Success
2426
end
27+
28+
end # module _benchmark

test/validation.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
module _validation
2+
13
using DAECompiler
24
using DAECompiler: refresh, compute_residual_vectors
35

@@ -235,3 +237,5 @@ end
235237
@test residuals expanded_residuals
236238
end
237239
end;
240+
241+
end # module _validation

0 commit comments

Comments
 (0)