Skip to content
This repository was archived by the owner on Dec 29, 2021. It is now read-only.

Option to ignore output #7

Merged
merged 3 commits into from
Jul 10, 2016
Merged

Option to ignore output #7

merged 3 commits into from
Jul 10, 2016

Conversation

Lindenk
Copy link
Contributor

@Lindenk Lindenk commented Jul 9, 2016

Fixes #6. I was thinking about whether to implement it as interpreting an empty string as matching any output, but I can see how many situations might call for explicitly expecting a command not to output (such as when testing a quiet mode). Is this alright?

Also, I think fuzzy matching should be a new issue. It would be a much different of an implementation than #6.

@killercup
Copy link
Collaborator

LGTM. This is not a breaking change, is it? Can you maybe also bump the version number? I'll publish it right after merging.

@Lindenk
Copy link
Contributor Author

Lindenk commented Jul 9, 2016

It isn't a breaking change, I only added new functions and the macro still matches what it did before in the same way.

@killercup
Copy link
Collaborator

@homu r+

@homu
Copy link
Contributor

homu commented Jul 10, 2016

📌 Commit 4fb51df has been approved by killercup

@homu
Copy link
Contributor

homu commented Jul 10, 2016

⚡ Test exempted - status

@homu homu merged commit 4fb51df into assert-rs:master Jul 10, 2016
homu added a commit that referenced this pull request Jul 10, 2016
Option to ignore output

Fixes #6. I was thinking about whether to implement it as interpreting an empty string as matching any output, but I can see how many situations might call for explicitly expecting a command not to output (such as when testing a quiet mode). Is this alright?

Also, I think fuzzy matching should be a new issue. It would be a much different of an implementation than #6.
@killercup
Copy link
Collaborator

0.2.2 is on crates.io: https://crates.io/crates/assert_cli

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants