Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Geena254 opened this issue Jun 19, 2023 · 3 comments

Comments

@Geena254
Copy link

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
Copy link

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

@Stringpappy
Copy link

re-arrange your header file,
/The initial header file is below*/
#include <stdio.h>
#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 <stdio.h>
it shows no error again

@Geena254
Copy link
Author

re-arrange your header file, /The initial header file is below*/ #include <stdio.h> #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 <stdio.h> it shows no error again

Thank you so much, i tried it and it worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants