-
Notifications
You must be signed in to change notification settings - Fork 2
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
Checking for EndOfFile #23
Comments
Uh! Thanks for the pointer! I will see how LLVMs FileCheck handles this and let you know! |
I can confirm,
Will work on a fix! |
Allright, I have a fix ready. Although I'm afraid that I would suggest you use |
Thanks for raising this issue! Please let me know if you run into any other problems! Also, if in case your project is open source, I'm happy to take a quick look and see what else fails. I'm always looking for more data points! |
Wow, thank you so much on the super quick investigation and fix! Sadly, my code is closed source. But I will try the new version and see if there are still failing tests and give you feedback. Again, thank you so much! |
Hey,
I've upgraded from the discontinued
mull-project/FileCheck.py
0.0.24 to this one, and now get quite a few errors. One cause is that I use CHECK-EMPTY to test that no more lines occur; e.g. for a file consisting of two lines with content "a" and "b" and a final line break (e.g.,a\nb\n
), I might have a test withto make sure that there is no further line after b (or if there is, it is empty).
This test used to work in
mull-project/FileCheck.py
, but results in a failed test now, as it now inteprets the last line break not as a new empty line.So, do you know which behavior is the correct one? Is this a bug in your implementation, or was the discontinued implementation by mull-project non-comforming? Do you have any suggestions on how to change the test to (explicitely) check for EOF?
Thanks for your work!
The text was updated successfully, but these errors were encountered: