Skip to content

Commit 5d917d4

Browse files
committed
make a test more comprehensive
1 parent df82241 commit 5d917d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vscode-dotnet-runtime-library/src/test/unit/VersionResolver.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ suite('VersionResolver Unit Tests', () => {
1616

1717
test('Get Available Versions', async () => {
1818
const result : IDotnetListVersionsResult = await resolver.GetAvailableDotnetVersions(undefined);
19-
// Assert that the call gives a result with members. The data may change, so we did not include data here.
20-
// Comprehensive e2e tests with data are in the sdk extension.
19+
2120
assert(result);
2221
assert(result.length > 0);
22+
assert(result.some(x => x.version === '2.2.207')); // this is one of the versions we'd expect to be available.
2323
});
2424

2525
test('Error With Invalid Version', async () => {

0 commit comments

Comments
 (0)