-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
pending test causes incorrect test count and malformed output #7192
Comments
You should replace |
We could probably stop |
@RX14 Could we make |
@RX14 Definitely! That, and also disallowing Let's keep this open to improve this situation. |
Fixed crystal-lang#7192 Fixed specs following changes also
Currently nesting `it`/`pending` doesn't break `crystal spec -v` output.
Version of crystal:
When I mark a test as pending the count of tests and test output are malformed.
I wrote the following test.
Running the test correctly outputs one green test displays the expected output.
When I mark the test as pending, things will get interesting.
The output shows two examples and the verbose output is malformed with the word
something
showing up twice on the first example listed and only1.0
from the test name is shown, not the full name1 equals 1.0
.The non-verbose spec output also shows two examples, although is not malformed.
The text was updated successfully, but these errors were encountered: