Skip to content

Commit

Permalink
Merge pull request #226 from Benji19967/patch-1
Browse files Browse the repository at this point in the history
fix: Update expected output in test
  • Loading branch information
epage authored Sep 7, 2023
2 parents caaa034 + b9df177 commit 6fa426f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tutorial/testing/tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn find_content_in_file() -> Result<(), Box<dyn std::error::Error>> {
cmd.arg("test").arg(file.path());
cmd.assert()
.success()
.stdout(predicate::str::contains("test\nAnother test"));
.stdout(predicate::str::contains("A test\nAnother test"));

Ok(())
}

0 comments on commit 6fa426f

Please sign in to comment.