From 84319aa4a32c1221110419cbe9e427dc9e184555 Mon Sep 17 00:00:00 2001 From: jaubourg Date: Mon, 10 Jan 2011 00:52:20 +0100 Subject: [PATCH] Fixes a race condition in JSONP Local test. --- test/unit/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 773088f..9f46c41 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -1084,7 +1084,7 @@ test("jQuery.ajax() - JSONP, Local", function() { expect(10); var count = 0; - function plus(){ if ( ++count == 9 ) start(); } + function plus(){ if ( ++count == 10 ) start(); } stop(); -- 1.7.10.4