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

Add OutputAssertionBuilder::empty() #82

Closed

Description

@RazrFalcon

Currently, the only way to check that there was no output is to use .stdout().is("").

I think that .stdout().empty() will be more elegant.

Activity

  1. epage commented on Jan 22, 2018

    @epage
    Collaborator

    I personally am a little unsure if the case is common enough to warrant its own check when there is a discoverable check that isn't much longer.

    FYI because of #70, this will either turn into .stdout(Output::empty) or .stdout(empty).

  2. epage commented on Apr 7, 2018

    @epage
    Collaborator

    If we move forward with #98 then this will be covered by assert-rs/predicates-rs#25.

  3. epage commented on May 29, 2018

    @epage
    Collaborator

    Addressed in assert_cmd
    https://github.com/assert-rs/assert_cmd
    assert_cli is going to morph into a wider-focused tool, including things like assert_fs. See #41

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions