aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/ajax.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/ajax.js')
-rw-r--r--test/unit/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js
index ab5ce24a8..e1ecd2036 100644
--- a/test/unit/ajax.js
+++ b/test/unit/ajax.js
@@ -937,7 +937,7 @@ QUnit.module( "ajax", {
dataType: "jsonp",
crossDomain: crossDomain,
success: function( data ) {
- assert.strictEqual( jQuery.type( data ), "array", "JSON results returned (GET, REST-like with param)" );
+ assert.ok( Array.isArray( data ), "JSON results returned (GET, REST-like with param)" );
}
}
];