Skip to content

support assertions about String, PathBuf, etc #5

Description

@sourcefrog
assert_that(&stdout).starts_with(&"Created new archive");

doesn't seem to work if stdout is a String: I need to explicitly call .as_str()

Am I doing this wrong? Or if not, would you be open to a PR that adds a specialization for String, and similarly for PathBuf?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions