Skip to content

Commit

Permalink
Tests: Use jquery-git1 instead of jquery-git
Browse files Browse the repository at this point in the history
Closes gh-1480
  • Loading branch information
scottgonzalez committed Mar 11, 2015
1 parent ea999e4 commit 08eb844
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/tasks/testswarm.js
Expand Up @@ -3,7 +3,7 @@ module.exports = function( grunt ) {
"use strict";

var versions = {
"git": "git",
"git1": "git1",
"1.11": "1.11.0 1.11.1 1.11.2",
"1.10": "1.10.0 1.10.1 1.10.2",
"1.9": "1.9.0 1.9.1",
Expand Down
4 changes: 2 additions & 2 deletions tests/jquery.js
Expand Up @@ -13,8 +13,8 @@ for ( ; i < length; i++ ) {
}
}

if ( version === "git" ) {
url = "http://code.jquery.com/jquery-git.js";
if ( version === "git" || version === "git1" ) {
url = "http://code.jquery.com/jquery-" + version + ".js";
} else {
url = "../../../external/jquery-" + ( version || "1.11.2" ) + "/jquery.js";
}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/subsuite.js
Expand Up @@ -6,7 +6,7 @@ var versions = [
"1.9.0", "1.9.1",
"1.10.0", "1.10.1", "1.10.2",
"1.11.0", "1.11.1", "1.11.2",
"git"
"git1"
],
additionalTests = {
// component: [ "other_test.html" ]
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/testsuite.js
Expand Up @@ -70,7 +70,7 @@ QUnit.config.urlConfig.push({
"1.11.0", "1.11.1", "1.11.2",
"2.0.0", "2.0.1", "2.0.2", "2.0.3",
"2.1.0", "2.1.1", "2.1.2", "2.1.3",
"git"
"git1", "git"
],
tooltip: "Which jQuery Core version to test against"
});
Expand Down

0 comments on commit 08eb844

Please sign in to comment.