File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ describe('getDiff', () => {
9595
9696 const result = await exec ( { } , action ) ;
9797 expect ( result . steps [ 0 ] . error ) . to . be . true ;
98- expect ( result . steps [ 0 ] . errorMessage ) . to . contain ( 'No commit data found' ) ;
98+ expect ( result . steps [ 0 ] . errorMessage ) . to . contain ( 'Your push has been blocked because no commit data was found' ) ;
9999 } ) ;
100100
101101 it ( 'should throw an error if no commit data is provided' , async ( ) => {
@@ -114,7 +114,7 @@ describe('getDiff', () => {
114114
115115 const result = await exec ( { } , action ) ;
116116 expect ( result . steps [ 0 ] . error ) . to . be . true ;
117- expect ( result . steps [ 0 ] . errorMessage ) . to . contain ( 'No commit data found' ) ;
117+ expect ( result . steps [ 0 ] . errorMessage ) . to . contain ( 'Your push has been blocked because no commit data was found' ) ;
118118 } ) ;
119119
120120 it ( 'should handle empty commit hash in commitFrom' , async ( ) => {
You can’t perform that action at this time.
0 commit comments