Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sorairolake committed Dec 5, 2023
1 parent b134452 commit fe30473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cli/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ fn validate_m_parameter_with_invalid_unit_for_encrypt_command() {
.assert()
.failure()
.code(2)
.stderr(predicate::str::contains("the character 'A' is incorrect ('B', 'K', 'M', 'G', 'T', 'P', 'E' or no character or no character is expected)"));
.stderr(predicate::str::contains("the character 'A' is incorrect"));
command()
.arg("encrypt")
.arg("-m")
Expand All @@ -185,7 +185,7 @@ fn validate_m_parameter_with_invalid_unit_for_encrypt_command() {
.assert()
.failure()
.code(2)
.stderr(predicate::str::contains("the character 'L' is incorrect ('B', 'K', 'M', 'G', 'T', 'P', 'E' or no character or no character is expected)"));
.stderr(predicate::str::contains("the character 'L' is incorrect"));
}

#[test]
Expand Down

0 comments on commit fe30473

Please sign in to comment.