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

test: update Darts exercise test case #708

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Conversation

kirillmorozov
Copy link
Contributor

I was able to pass this exercise using incorrect [[:digit:]] regular expression that only checked that an argument includes a number so I've decided to slightly update the test case for a non-numeric argument.


Reviewer Resources:

Track Policies

I was able to pass this exercise using incorrect `[[:digit:]]` regular
expression that only checked that an argument includes a number so I've
decided to slightly update the test case for a non-numeric argument.
@glennj glennj added x:action/improve Improve existing functionality/content x:rep/small Small amount of reputation labels Sep 23, 2024
@glennj
Copy link
Contributor

glennj commented Sep 23, 2024

As someone who recently completed the exercise, was it clear what the test expected?

    assert_failure
    assert_output    # there is _some_ output

@kirillmorozov
Copy link
Contributor Author

Yeah, I quickly figured out that it expects a non-zero exit code and a message without enforcing concrete error message.

@glennj glennj merged commit 8d94f5f into exercism:main Sep 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:action/improve Improve existing functionality/content x:rep/small Small amount of reputation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants