This repository was archived by the owner on Dec 29, 2021. It is now read-only.
Add Assert::ignore_status() for ignoring the command status#56
Merged
epage merged 2 commits intoassert-rs:masterfrom Oct 17, 2017
dsprenkels:ignore_status
Merged
Add Assert::ignore_status() for ignoring the command status#56epage merged 2 commits intoassert-rs:masterfrom dsprenkels:ignore_status
epage merged 2 commits intoassert-rs:masterfrom
dsprenkels:ignore_status
Conversation
Collaborator
|
Thanks! Don't worry about the CI error, it's a known issue (see #50 (comment)). r? @epage Do we want the docs to mention that this will reset previously set assertions? |
Collaborator
Might be nice because this doesn't just turn off the implicit |
Author
|
I updated the PR with the new docstring. |
added 2 commits
October 17, 2017 17:35
Namely, it removes any assertions that were previously made.
Collaborator
|
bors: r+ |
Contributor
Build failed |
Collaborator
|
Oh, right. Since nothing is lost with merging it anyways, I guess I'll do it manually. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements
Assert::ignore_status(), which can be used to ignore whether a command exited successfully.Fixes #23.