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

Document how to run unittests in -betterC #2436

Merged
merged 1 commit into from
Aug 3, 2018

Conversation

wilzbach
Copy link
Member

@wilzbach wilzbach commented Aug 2, 2018

I think this isn't obvious to people, especially as it was listed in the "Not Available" features section.

@wilzbach wilzbach requested a review from andralex as a code owner August 2, 2018 16:35
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @wilzbach!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

spec/betterc.dd Outdated
dmd_runpezoXK: foo.d:3: Assertion `0' failed.
)

However, in `-betterC` `assert` don't use Druntime's assert and are directed to `assert` of the C runtime library instead.
Copy link
Contributor

Choose a reason for hiding this comment

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

don't --> doesn't, are --> is

Unless you wan to change assert to asserts.

Copy link
Member Author

Choose a reason for hiding this comment

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

Changed to "assert expressions"

@dlang-bot dlang-bot merged commit 051150a into dlang:master Aug 3, 2018
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.

4 participants