-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Neg tests could infer //error
and // error
as the same thing
#7051
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
Comments
It would be better to have a single and homogeneous format. What we could do is to identify |
@nicolasstucki Makes sense. Where should I start from if I am going to do this enhancement? |
Can you assign this to me? |
@nicolasstucki Is there any logger that I can use to print a warning? Or can I just go ahead with a |
Thank you. Does the PR look okay? #7062 |
Fixes #7051 Detect typos in neg tests and give a warning
When writing tests in
neg
package we have the option of giving// error
at the end of a line to indicate a compilation error on that line. The space between//
anderror
is strictly required and I have spent a lot of time figuring out why my tests in theneg
folder did not work. Apparently I missed the space.Can we simplify this by treating both
//error
and// error
as the same?The text was updated successfully, but these errors were encountered: