Merge pull request #1094 from greg-el/main

fix(run): correct "PAS" in `integration_tests.rs`
This commit is contained in:
liv 2022-07-23 17:38:27 +02:00 committed by GitHub
commit 5cb40b2c95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,7 @@ fn run_single_test_success_with_output() {
.current_dir("tests/fixture/success/") .current_dir("tests/fixture/success/")
.assert() .assert()
.code(0) .code(0)
.stdout(predicates::str::contains("THIS TEST TOO SHALL PAS")); .stdout(predicates::str::contains("THIS TEST TOO SHALL PASS"));
} }
#[test] #[test]
@ -187,7 +187,7 @@ fn run_single_test_success_without_output() {
.current_dir("tests/fixture/success/") .current_dir("tests/fixture/success/")
.assert() .assert()
.code(0) .code(0)
.stdout(predicates::str::contains("THIS TEST TOO SHALL PAS").not()); .stdout(predicates::str::contains("THIS TEST TOO SHALL PASS").not());
} }
#[test] #[test]