bats-core / bats-assert

Common assertions for Bats
Creative Commons Zero v1.0 Universal
94 stars 39 forks source link

Fix: First two examples are backwards #39

Closed stefanlasiewski closed 2 years ago

stefanlasiewski commented 2 years ago

The file must be removed for assert to fail, as shown in the example. The file must exist for refute to fail.

stefanlasiewski commented 2 years ago

Fixes https://github.com/bats-core/bats-assert/issues/40

martin-schulze-vireso commented 2 years ago

@stefanlasiewski What is your opinion about my proposed change? Is this less confusing?

stefanlasiewski commented 2 years ago

Looks good to me @martin-schulze-vireso

martin-schulze-vireso commented 2 years ago

Thanks for the PR.