Skip to content

Commit a4a79ce

Browse files
committed
test: use MyMockModule for testing parent-module
1 parent 53fabfc commit a4a79ce

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

test/model_parsing.jl

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -689,14 +689,6 @@ end
689689
@test getdefault(component.written_out_for_2.sc) == 3
690690
end
691691

692-
module GetParentModule
693-
694-
using ModelingToolkit
695-
696-
@mtkmodel Component begin end
697-
698-
end
699-
700692
@testset "Parent module of Models" begin
701-
@test parentmodule(GetParentModule.Component) == GetParentModule
693+
@test parentmodule(MyMockModule.Ground) == MyMockModule
702694
end

0 commit comments

Comments
 (0)