Skip to content

Commit 90124ec

Browse files
committed
Fix tests
1 parent a0aad45 commit 90124ec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/model_parsing.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,9 @@ end
329329
# Ensure that modules consisting MTKModels with component arrays and icons of
330330
# `Expr` type and `unit` metadata can be precompiled.
331331
module PrecompilationTest
332-
using Unitful, Test, ModelParsingPrecompile
332+
push!(LOAD_PATH, joinpath(@__DIR__, "precompile_test"))
333+
using Unitful, Test, ModelParsingPrecompile, ModelingToolkit
333334
@testset "Precompile packages with MTKModels" begin
334-
push!(LOAD_PATH, joinpath(@__DIR__, "precompile_test"))
335-
336335
using ModelParsingPrecompile: ModelWithComponentArray
337336

338337
@named model_with_component_array = ModelWithComponentArray()

0 commit comments

Comments
 (0)