From c2767230d19581f9fc03d697f12b8d63727780df Mon Sep 17 00:00:00 2001 From: Philipp Zagar Date: Mon, 26 Feb 2024 20:06:15 -0800 Subject: [PATCH] Fix UI test --- .../TestApp/ViewsTests/ConditionalModifierTestView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/UITests/TestApp/ViewsTests/ConditionalModifierTestView.swift b/Tests/UITests/TestApp/ViewsTests/ConditionalModifierTestView.swift index 06c5cc0..c16174f 100644 --- a/Tests/UITests/TestApp/ViewsTests/ConditionalModifierTestView.swift +++ b/Tests/UITests/TestApp/ViewsTests/ConditionalModifierTestView.swift @@ -41,7 +41,7 @@ struct ConditionalModifierTestView: View { .padding(.top, 20) Button("Toggle Closure Condition") { - condition.toggle() + closureCondition.toggle() } .buttonStyle(.borderedProminent) }