From 4f57695d2244489251b31cc67ab3b8e56b2f1b2e Mon Sep 17 00:00:00 2001 From: brobert Date: Wed, 24 Feb 2016 14:52:46 -0600 Subject: [PATCH] Issue #21: Added extra fail-safe to force boolean binding to update before evaluating it. --- src/test/java/com/adobe/ags/curly/test/ErrorBehaviorTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/com/adobe/ags/curly/test/ErrorBehaviorTest.java b/src/test/java/com/adobe/ags/curly/test/ErrorBehaviorTest.java index b98b502..9dd1cf5 100644 --- a/src/test/java/com/adobe/ags/curly/test/ErrorBehaviorTest.java +++ b/src/test/java/com/adobe/ags/curly/test/ErrorBehaviorTest.java @@ -199,6 +199,7 @@ private void assertResults(RunnerResult result, boolean completelySuccessful, bo } private boolean isBindingTrue(BooleanBinding binding) { + binding.invalidate(); return binding != null && binding.getValue() != null && binding.get(); } }