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

Small refactors for compiler specs #9379

Merged

Conversation

straight-shoota
Copy link
Member

No description provided.

Specs should not assume how the error message is formatted and the
"Error: " label is added by the formatter. The expectations still pass
because the error message is matched via `.includes?`.
Changes existing specs to use assert_error spec helper.
Copy link
Member

@asterite asterite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep them coming!

@straight-shoota straight-shoota added this to the 1.0.0 milestone Nov 4, 2020
@bcardiff bcardiff merged commit a793565 into crystal-lang:master Nov 6, 2020
@straight-shoota straight-shoota deleted the refactor/specs-compiler-misc branch November 6, 2020 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants