relax constraint on error output

This commit is contained in:
Jonathan Shook 2024-01-18 00:23:33 -06:00
parent 03c45a2a67
commit 7467817fb5

View File

@ -68,7 +68,7 @@ class ExitStatusIntegrationTests {
"driver=diag", "cyclerate=10", "not_a_thing", "cycles=100", "-vvv"
);
String stdout = String.join("\n", result.getStdoutData());
assertThat(stdout).contains("internal error: You requested exactly one instance of a service by name 'not_a_thing'");
assertThat(stdout).contains("You requested exactly one instance of a service by name 'not_a_thing'");
assertThat(result.exitStatus).isEqualTo(2);
}