Skip to content

Commit 7a6eb25

Browse files
test: update components test
1 parent 3e55297 commit 7a6eb25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/components.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function rc_component(; name, R = 1, C = 1)
109109
@named p = Pin()
110110
@named n = Pin()
111111
@named resistor = Resistor(R = R) # test parent scope default of @named
112-
@named capacitor = Capacitor(C = ParentScope(C))
112+
@named capacitor = Capacitor(C = C)
113113
eqs = [connect(p, resistor.p);
114114
connect(resistor.n, capacitor.p);
115115
connect(capacitor.n, n)]

0 commit comments

Comments
 (0)