Skip to content

Commit 8e815f0

Browse files
test: fix implicit discrete codegen test
1 parent ec1812f commit 8e815f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/implicit_discrete_system.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@ end
7575
y(k) ~ x(k - 1) + x(k - 2),
7676
z(k) * x(k) ~ 3]
7777
@mtkcompile sys = System(eqs, t)
78-
@test occursin("var\"Shift(t, 1)(x(t))\"",
78+
@test occursin("var\"Shift(t, 1)(z(t))\"",
7979
string(ImplicitDiscreteFunction(sys; expression = Val{true})))
8080
end

0 commit comments

Comments
 (0)