Skip to content

Make cargo test pass w/o amethyst feature#32

Closed
paulkernfeld wants to merge 1 commit intoamethyst:masterfrom
paulkernfeld:tests-pass-without-amethyst-feature
Closed

Make cargo test pass w/o amethyst feature#32
paulkernfeld wants to merge 1 commit intoamethyst:masterfrom
paulkernfeld:tests-pass-without-amethyst-feature

Conversation

@paulkernfeld
Copy link
Copy Markdown

I did this by gating the test code behind a feature flag

I did this by gating the test code behind a feature flag
@paulkernfeld
Copy link
Copy Markdown
Author

Hopefully this is helpful in verifying that code is correct when the amethyst feature is not enabled. I think this could also be implemented by putting the doctest inside of a module that is gated on the amethyst feature.

@AnneKitsune
Copy link
Copy Markdown
Contributor

I tested #31

Amethyst isn't in the default features and the test passed. I will consider this resolved. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants