diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-02-28 15:10:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-28 15:10:12 -0400 |
commit | ea1cb4c2fafb360949d7f2cf7db7215ef2b2e338 (patch) | |
tree | 47ca7c0c9bf331db2bd2d9d36356a2c25881a5e5 /cli/tests/integration/mod.rs | |
parent | 4835098cf7ad2dd0641c14a2adf44ce233ba286c (diff) |
chore(test): remove TestCommandOutput macros (#17975)
Diffstat (limited to 'cli/tests/integration/mod.rs')
-rw-r--r-- | cli/tests/integration/mod.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cli/tests/integration/mod.rs b/cli/tests/integration/mod.rs index 6d1daf7d7..9c865f2ad 100644 --- a/cli/tests/integration/mod.rs +++ b/cli/tests/integration/mod.rs @@ -12,12 +12,12 @@ macro_rules! itest( .. Default::default() }; let output = test.output(); - test_util::assert_exit_code!(output, test.exit_code); + output.assert_exit_code(test.exit_code); if !test.output.is_empty() { assert!(test.output_str.is_none()); - test_util::assert_output_file!(output, test.output); + output.assert_matches_file(test.output); } else { - test_util::assert_output_text!(output, test.output_str.unwrap_or("")); + output.assert_matches_text(test.output_str.unwrap_or("")); } } } @@ -35,12 +35,12 @@ macro_rules! itest_flaky( .. Default::default() }; let output = test.output(); - test_util::assert_exit_code!(output, test.exit_code); + output.assert_exit_code(test.exit_code); if !test.output.is_empty() { assert!(test.output_str.is_none()); - test_util::assert_output_file!(output, test.output); + output.assert_matches_file(test.output); } else { - test_util::assert_output_text!(output, test.output_str.unwrap_or("")); + output.assert_matches_text(test.output_str.unwrap_or("")); } } } |