@@ -154,7 +154,7 @@ test('should throw at unknown flag', async () => {
154
154
fixtures . path ( 'rc/unknown-flag.json' ) ,
155
155
'-p' , '"Hello, World!"' ,
156
156
] ) ;
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 / ) ;
158
158
strictEqual ( result . stdout , '' ) ;
159
159
strictEqual ( result . code , 9 ) ;
160
160
} ) ;
@@ -166,7 +166,7 @@ test('should throw at flag not available in NODE_OPTIONS', async () => {
166
166
fixtures . path ( 'rc/not-node-options-flag.json' ) ,
167
167
'-p' , '"Hello, World!"' ,
168
168
] ) ;
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 / ) ;
170
170
strictEqual ( result . stdout , '' ) ;
171
171
strictEqual ( result . code , 9 ) ;
172
172
} ) ;
@@ -401,7 +401,7 @@ describe('namespace-scoped options', () => {
401
401
fixtures . path ( 'rc/unknown-flag-namespace.json' ) ,
402
402
'-p' , '"Hello, World!"' ,
403
403
] ) ;
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 / ) ;
405
405
strictEqual ( result . stdout , '' ) ;
406
406
strictEqual ( result . code , 9 ) ;
407
407
} ) ;
0 commit comments