@@ -154,7 +154,7 @@ test('should throw at unknown flag', async () => {
154154 fixtures . path ( 'rc/unknown-flag.json' ) ,
155155 '-p' , '"Hello, World!"' ,
156156 ] ) ;
157- match ( result . stderr , / U n k n o w n o r n o t a l l o w e d o p t i o n s o m e - u n k n o w n - f l a g / ) ;
157+ match ( result . stderr , / U n k n o w n o r n o t a l l o w e d o p t i o n s o m e - u n k n o w n - f l a g f o r n a m e s p a c e n o d e O p t i o n s / ) ;
158158 strictEqual ( result . stdout , '' ) ;
159159 strictEqual ( result . code , 9 ) ;
160160} ) ;
@@ -166,7 +166,7 @@ test('should throw at flag not available in NODE_OPTIONS', async () => {
166166 fixtures . path ( 'rc/not-node-options-flag.json' ) ,
167167 '-p' , '"Hello, World!"' ,
168168 ] ) ;
169- match ( result . stderr , / U n k n o w n o r n o t a l l o w e d o p t i o n t e s t / ) ;
169+ match ( result . stderr , / U n k n o w n o r n o t a l l o w e d o p t i o n t e s t f o r n a m e s p a c e n o d e O p t i o n s / ) ;
170170 strictEqual ( result . stdout , '' ) ;
171171 strictEqual ( result . code , 9 ) ;
172172} ) ;
@@ -401,7 +401,7 @@ describe('namespace-scoped options', () => {
401401 fixtures . path ( 'rc/unknown-flag-namespace.json' ) ,
402402 '-p' , '"Hello, World!"' ,
403403 ] ) ;
404- match ( result . stderr , / U n k n o w n o r n o t a l l o w e d o p t i o n u n k n o w n - f l a g / ) ;
404+ match ( result . stderr , / U n k n o w n o r n o t a l l o w e d o p t i o n u n k n o w n - f l a g f o r n a m e s p a c e t e s t R u n n e r / ) ;
405405 strictEqual ( result . stdout , '' ) ;
406406 strictEqual ( result . code , 9 ) ;
407407 } ) ;
0 commit comments