Fixed an OB1 bug in CommandExecutorTest that was generating a spurious error after the test had succeeded. git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2574 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/test/com/google/gwt/user/client/CommandExecutorTest.java b/user/test/com/google/gwt/user/client/CommandExecutorTest.java index 1c891a3..1b335d9 100644 --- a/user/test/com/google/gwt/user/client/CommandExecutorTest.java +++ b/user/test/com/google/gwt/user/client/CommandExecutorTest.java
@@ -329,11 +329,11 @@ private int executionCount = 0; public boolean execute() { - if (++executionCount >= 10) { + if (++executionCount > 10) { fail("IncrementalCommand was fired more than 10 times"); } - if (executionCount == 9) { + if (executionCount == 10) { finishTest(); }