alx-tools / Betty

Holberton-style C code checker written in Perl
GNU General Public License v3.0
1.27k stars 1.77k forks source link

Error on line 0 indicating "does not appear to be a unified-diff format patch" #50

Open Geena254 opened 1 year ago

Geena254 commented 1 year ago

This error has been on my sandbox for the C-Variables project and i have no idea on how to solve it. The checker still checks green on the Betty coding style section but when you prompt Betty to look for error, only this one appears.. Please kindly let me know how it..

ceddyandanje commented 1 year ago

which directory of which repository. and which language too. drop a screenshot too

Stringpappy commented 7 months ago

re-arrange your header file, /The initial header file is below*/

include

incude "main.h"

then it shows this error "========== ./1-main ========== ./1-main:0: ERROR: Does not appear to be a unified-diff format patch total: 1 errors, 0 warnings, 0 lines checked

/but when i re-arrange the header file like this/

incude "main.h"

include

it shows no error again

Geena254 commented 7 months ago

re-arrange your header file, /The initial header file is below*/ #include #incude "main.h" then it shows this error "========== ./1-main ========== ./1-main:0: ERROR: Does not appear to be a unified-diff format patch total: 1 errors, 0 warnings, 0 lines checked

/but when i re-arrange the header file like this/ #incude "main.h" #include it shows no error again

Thank you so much, i tried it and it worked