Fixed spelling mistake in Ajax tests.
authorJohn Resig <jeresig@gmail.com>
Tue, 14 Jul 2009 21:20:16 +0000 (21:20 +0000)
committerJohn Resig <jeresig@gmail.com>
Tue, 14 Jul 2009 21:20:16 +0000 (21:20 +0000)
test/unit/ajax.js

index 92d0739..942f9be 100644 (file)
@@ -923,8 +923,8 @@ test("jQuery.ajax - Etag support", function() {
                                ifModified: true,
                                success: function(data, status) { 
                                        if ( data === "FAIL" ) {
-                                               ok(true, "Opera is incapable of doing .setRequestHeader('If-None-Matches').");
-                                               ok(true, "Opera is incapable of doing .setRequestHeader('If-None-Matches').");
+                                               ok(true, "Opera is incapable of doing .setRequestHeader('If-None-Match').");
+                                               ok(true, "Opera is incapable of doing .setRequestHeader('If-None-Match').");
                                        } else {
                                                equals(status, "notmodified");
                                                ok(data == null, "response body should be empty")