Skip to content

Commit 5dfd28e

Browse files
authored
removing failing L0 test (#11617) (#11619)
* removing failing L0 test * Update L0.ts
1 parent 2409b93 commit 5dfd28e

File tree

1 file changed

+0
-13
lines changed
  • Tasks/UseDotNetV2/Tests

1 file changed

+0
-13
lines changed

Tasks/UseDotNetV2/Tests/L0.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -170,18 +170,6 @@ describe('UseDotNet', function () {
170170
}, tr, done);
171171
});
172172

173-
it("[VersionFetcher.DotNetCoreVersionFetcher] getVersionInfo should throw if includePreviewVersion is false and only 1 channel and is preview", (done) => {
174-
process.env["__failat__"] = "versionnotfound";
175-
process.env["__versionspec__"] = "3.x";
176-
let tr = new ttm.MockTestRunner(path.join(__dirname, "versionFetcherGetVersionInfoFailTests.js"));
177-
tr.run();
178-
runValidations(() => {
179-
assert(tr.succeeded == false, ("Should have failed as channels could not be fetched."));
180-
assert(tr.stdout.indexOf("MatchingVersionNotFound") > -1, "Should not have found a matching version.");
181-
assert(tr.stdout.indexOf("VersionNotFound") > -1, "Should have thrown with VersionNotFound error.");
182-
}, tr, done);
183-
});
184-
185173
it("[VersionFetcher.DotNetCoreVersionFetcher] getVersionInfo should throw if preview versions included and version not found", (done) => {
186174
process.env["__failat__"] = "versionnotfound";
187175
process.env["__versionspec__"] = "4.40.x";
@@ -195,7 +183,6 @@ describe('UseDotNet', function () {
195183
}, tr, done);
196184
});
197185

198-
199186
it("[VersionFetcher.DotNetCoreVersionFetcher] getVersionInfo should return correct version info for a correct version spec", (done) => {
200187
process.env["__versionspec__"] = "2.2.103";
201188
let tr = new ttm.MockTestRunner(path.join(__dirname, "versionFetcherGetVersionInfoTestsCorrect.js"));

0 commit comments

Comments
 (0)