@ -201,6 +201,7 @@ describe('DotnetVersionResolver tests', () => {
'.2.3' ,
'.2.x' ,
'*.' ,
'*' ,
'1.2.' ,
'1.2.-abc' ,
'a.b' ,
@ -221,7 +222,7 @@ describe('DotnetVersionResolver tests', () => {
}
) ;
each ( [ '3.1' , '3.1.x' , '3.1.*' , '3.1.X' ]) . test (
each ( [ '3.1' , '3.1.x' , '3.1.*' , '3.1.X' , '3.1.1xx' ]) . test (
"if version: '%s' that can be resolved to 'channel' option is supplied, it should set type to 'channel' in version object" ,
async version = > {
const dotnetVersionResolver = new installer . DotnetVersionResolver (
@ -233,7 +234,7 @@ describe('DotnetVersionResolver tests', () => {
}
) ;
each ( [ '6.0' , '6.0.x' , '6.0.*' , '6.0.X' ]) . test (
each ( [ '6.0' , '6.0.x' , '6.0.*' , '6.0.X' , '6.0.1xx' ]) . test (
"if version: '%s' that can be resolved to 'channel' option is supplied and its major tag is >= 6, it should set type to 'channel' and qualityFlag to 'true' in version object" ,
async version = > {
const dotnetVersionResolver = new installer . DotnetVersionResolver (