mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-20 23:50:19 +00:00
Formatting on installer.test
This commit is contained in:
parent
972bef6e28
commit
2c5c2afdaa
@ -27,15 +27,16 @@ describe('version tests', () => {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
each([['3.1.x', '3.1'], ['1.1.*', '1.1'], ['2.0', '2.0']]).test(
|
each([
|
||||||
"Generic version '%s' should be '%s'",
|
['3.1.x', '3.1'],
|
||||||
(vers, resVers) => {
|
['1.1.*', '1.1'],
|
||||||
|
['2.0', '2.0']
|
||||||
|
]).test("Generic version '%s' should be '%s'", (vers, resVers) => {
|
||||||
let versInfo = new installer.DotNetVersionInfo(vers);
|
let versInfo = new installer.DotNetVersionInfo(vers);
|
||||||
|
|
||||||
expect(versInfo.isExactVersion()).toBe(false);
|
expect(versInfo.isExactVersion()).toBe(false);
|
||||||
expect(versInfo.version()).toBe(resVers);
|
expect(versInfo.version()).toBe(resVers);
|
||||||
}
|
});
|
||||||
);
|
|
||||||
|
|
||||||
each([
|
each([
|
||||||
'',
|
'',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user