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

Better Error Message for Forgetting "NAME" #99

Closed
ryanmrichard opened this issue Dec 11, 2023 · 0 comments · Fixed by #100
Closed

Better Error Message for Forgetting "NAME" #99

ryanmrichard opened this issue Dec 11, 2023 · 0 comments · Fixed by #100
Labels
enhancement New feature or request

Comments

@ryanmrichard
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The error messages stemming from incorrect usage tend to be opaque. I forgot to add NAME before my test name in ct_add_test/ct_add_section. The resulting error was something along the lines of: "No suitable overload of ctor..."

Describe the solution you'd like
It would be great if ct_add_test/ct_add_section verified that NAME is passed in and if it's not raise a syntax error.

Describe alternatives you've considered
N/A

Additional context
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant