@@ -270,7 +270,7 @@ describe('ti sdk', () => {
270270 let output = stripColor ( stdout ) ;
271271 assert . match ( output , / T i t a n i u m C o m m a n d - L i n e I n t e r f a c e / ) ;
272272 assert . match ( output , new RegExp ( `SDK Install Locations:\n\\s*${ tmpSDKDir . replace ( / \\ / g, '\\\\' ) } ` ) ) ;
273- assert . match ( output , / B r a n c h e s : \n \s * m a i n / ) ;
273+ assert . match ( output , / B r a n c h e s : \n \s * ( m a i n | m a s t e r ) / ) ;
274274
275275 // list stable releases
276276 ( { exitCode, stdout } = await run ( [ 'sdk' , 'list' , '-r' ] ) ) ;
@@ -294,13 +294,13 @@ describe('ti sdk', () => {
294294 output = stripColor ( stdout ) ;
295295 assert . match ( output , / T i t a n i u m C o m m a n d - L i n e I n t e r f a c e / ) ;
296296 assert . match ( output , new RegExp ( `SDK Install Locations:\n\\s*${ tmpSDKDir . replace ( / \\ / g, '\\\\' ) } ` ) ) ;
297- assert . match ( output , / ' m a i n ' B r a n c h B u i l d s : / ) ;
297+ assert . match ( output , / ' ( m a i n | m a s t e r ) ' B r a n c h B u i l d s : / ) ;
298298 assert . match ( output , / \d + \. \d + \. \d + \. v \d + \s + \d + \/ \d + \/ \d + \s + \d + ( \. \d + ) ? .B \[ u n s t a b l e \] / ) ;
299299
300300 // list branches, stable, and unstable releases as json
301301 ( { exitCode, stdout } = await run ( [ 'sdk' , 'ls' , '-bu' , '--json' ] ) ) ;
302302 const json = JSON . parse ( stdout ) ;
303- assert ( json . branches . branches . includes ( 'main' ) ) ;
303+ assert ( json . branches . branches . includes ( 'main' ) || json . branches . branches . includes ( 'master' ) ) ;
304304 assert ( json . branches . branches . includes ( '12_6_X' ) ) ;
305305 assert ( json . releases [ sdkName ] ) ;
306306
0 commit comments