8000 Tests: Fix tests for `jQuery.get( String, null-ish, null-ish, String )` · mgol/jquery@27288a1 · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit 27288a1

Browse files
committed
Tests: Fix tests for jQuery.get( String, null-ish, null-ish, String )
The original test's `text` variant just repeated the previous test with 3 parameters; the goal was to use 4 ones. This fixes it. Ref jquerygh-5640 Ref jquerygh-5645
1 parent de2ecfc commit 27288a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/ajax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2823,7 +2823,7 @@ if ( typeof window.ArrayBuffer === "undefined" || typeof new XMLHttpRequest().re
28232823
done();
28242824
} );
28252825

2826-
jQuery.get( url( "mock.php?action=json&header" ), null, "text" )
2826+
jQuery.get( url( "mock.php?action=json&header" ), data, success, "text" )
28272827
.then( function( text ) {
28282828
assert.strictEqual( text, "{\"data\":{\"lang\":\"en\",\"length\":25}}",
28292829
"`dataType: \"text\"` applied with `" + data + "` data & `" +

0 commit comments

Comments
 (0)
0