Skip to content

Commit 08eb844

Browse files
committed
Tests: Use jquery-git1 instead of jquery-git
Closes jquerygh-1480
1 parent ea999e4 commit 08eb844

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

build/tasks/testswarm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = function( grunt ) {
33
"use strict";
44

55
var versions = {
6-
"git": "git",
6+
"git1": "git1",
77
"1.11": "1.11.0 1.11.1 1.11.2",
88
"1.10": "1.10.0 1.10.1 1.10.2",
99
"1.9": "1.9.0 1.9.1",

tests/jquery.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ for ( ; i < length; i++ ) {
1313
}
1414
}
1515

16-
if ( version === "git" ) {
17-
url = "http://code.jquery.com/jquery-git.js";
16+
if ( version === "git" || version === "git1" ) {
17+
url = "http://code.jquery.com/jquery-" + version + ".js";
1818
} else {
1919
url = "../../../external/jquery-" + ( version || "1.11.2" ) + "/jquery.js";
2020
}

tests/unit/subsuite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var versions = [
66
"1.9.0", "1.9.1",
77
"1.10.0", "1.10.1", "1.10.2",
88
"1.11.0", "1.11.1", "1.11.2",
9-
"git"
9+
"git1"
1010
],
1111
additionalTests = {
1212
// component: [ "other_test.html" ]

tests/unit/testsuite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ QUnit.config.urlConfig.push({
7070
"1.11.0", "1.11.1", "1.11.2",
7171
"2.0.0", "2.0.1", "2.0.2", "2.0.3",
7272
"2.1.0", "2.1.1", "2.1.2", "2.1.3",
73-
"git"
73+
"git1", "git"
7474
],
7575
tooltip: "Which jQuery Core version to test against"
7676
});

0 commit comments

Comments
 (0)