You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Parsing section name
--> test.hurl:3:2
|
3 | [asserts]
| ^ the section asserts is not valid
|
what i expect:
error: Parsing section name
--> test.hurl:3:2
|
3 | [asserts]
| ^ the section asserts is not valid, did you mean --> [Asserts] ?
|
I think that at first, when an unknown syntax is found, it is enough to compare it in [[lower]] mode to the list of known syntaxes at the expected position and then propose the correction (this can also happen on countEquals etc...)
The text was updated successfully, but these errors were encountered:
We decided to accept only section with the first uppercase letter so that hurl files look more similar/uniform.
But yes, in this case, we can indeed be more helpful in the error message
hurl version: 1.2.0
what i get:
what i expect:
I think that at first, when an unknown syntax is found, it is enough to compare it in [[lower]] mode to the list of known syntaxes at the expected position and then propose the correction (this can also happen on countEquals etc...)
The text was updated successfully, but these errors were encountered: