Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed Jan 22, 2025
1 parent c9642c4 commit 6d07434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildpacks/maven/tests/integration/versions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn with_wrapper_and_unknown_system_properties() {
UNKNOWN_MAVEN_VERSION, &path
)).expected_pack_result(PackResult::Failure),
|context| {
assert_contains!(context.pack_stderr, "[Error: Unsupported Maven version]");
assert_contains!(context.pack_stderr, "! ERROR: Unsupported Maven version");
assert_contains!(context.pack_stderr, &format!("You have defined an unsupported Maven version ({UNKNOWN_MAVEN_VERSION}) in the system.properties file."));
},
);
Expand Down Expand Up @@ -80,7 +80,7 @@ fn without_wrapper_and_unknown_system_properties() {
set_maven_version_app_dir_preprocessor(UNKNOWN_MAVEN_VERSION, &path);
}).expected_pack_result(PackResult::Failure),
|context| {
assert_contains!(context.pack_stderr, "[Error: Unsupported Maven version]");
assert_contains!(context.pack_stderr, "! ERROR: Unsupported Maven version");
assert_contains!(context.pack_stderr, &format!("You have defined an unsupported Maven version ({UNKNOWN_MAVEN_VERSION}) in the system.properties file."));
},
);
Expand Down

0 comments on commit 6d07434

Please sign in to comment.