@@ -20,7 +20,7 @@ describe("bump", () => {
2020 it ( "should error if an invalid argument is used" , ( ) => {
2121 let bump = chaiExec ( "--commit --help --fizzbuzz --tag" ) ;
2222
23- expect ( bump ) . to . have . exitCode ( 1 ) ;
23+ expect ( bump ) . to . have . exitCode ( 9 ) ;
2424 expect ( bump ) . to . have . stdout ( "" ) ;
2525 expect ( bump . stderr ) . to . match ( / ^ U n k n o w n o p t i o n : - - f i z z b u z z \n \n U s a g e : b u m p \[ r e l e a s e \] \[ o p t i o n s \] \[ f i l e s ...\] \n / ) ;
2626 expect ( bump . stderr ) . to . contain ( manifest . description ) ;
@@ -29,7 +29,7 @@ describe("bump", () => {
2929 it ( "should error if an invalid shorthand argument is used" , ( ) => {
3030 let bump = chaiExec ( "-chzt" ) ;
3131
32- expect ( bump ) . to . have . exitCode ( 1 ) ;
32+ expect ( bump ) . to . have . exitCode ( 9 ) ;
3333 expect ( bump ) . to . have . stdout ( "" ) ;
3434 expect ( bump . stderr ) . to . match ( / ^ U n k n o w n o p t i o n : - z \n \n U s a g e : b u m p \[ r e l e a s e \] \[ o p t i o n s \] \[ f i l e s ...\] \n / ) ;
3535 expect ( bump . stderr ) . to . contain ( manifest . description ) ;
@@ -38,7 +38,7 @@ describe("bump", () => {
3838 it ( "should error if an argument is missing its value" , ( ) => {
3939 let bump = chaiExec ( "--commit --help --preid --tag" ) ;
4040
41- expect ( bump ) . to . have . exitCode ( 1 ) ;
41+ expect ( bump ) . to . have . exitCode ( 9 ) ;
4242 expect ( bump ) . to . have . stdout ( "" ) ;
4343 bump . stderr . should . match (
4444 / ^ T h e - - p r e i d o p t i o n r e q u i r e s a v a l u e , s u c h a s " a l p h a " , " b e t a " , e t c \. \n \n U s a g e : b u m p \[ r e l e a s e \] \[ o p t i o n s \] \[ f i l e s ...\] \n /
0 commit comments