From e38cae27d6cfa8c6c0e79a8e3ee949f9d2b52a3a Mon Sep 17 00:00:00 2001 From: Julien Kronegg Date: Tue, 6 Jun 2023 08:09:55 +0200 Subject: [PATCH] fix: corrected UnsatisfiableDependencyException with disposables dependencies for #2762 --- .../java/io/cucumber/core/plugin/ProgressFormatterTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cucumber-core/src/test/java/io/cucumber/core/plugin/ProgressFormatterTest.java b/cucumber-core/src/test/java/io/cucumber/core/plugin/ProgressFormatterTest.java index 69e4a501c3..13451b9933 100644 --- a/cucumber-core/src/test/java/io/cucumber/core/plugin/ProgressFormatterTest.java +++ b/cucumber-core/src/test/java/io/cucumber/core/plugin/ProgressFormatterTest.java @@ -94,11 +94,11 @@ void print_red_F_for_failed_hook_monochrome() { bus.send(new TestStepFinished(Instant.now(), mocktestCase, stubPickleStepTestStep, result)); // Then - assertThat(out, bytes(equalTo("F" ))); + assertThat(out, bytes(equalTo("F"))); formatter.setMonochrome(false); } - private class StubTestCase implements TestCase { + private static class StubTestCase implements TestCase { @Override public Integer getLine() { return null; @@ -145,7 +145,7 @@ public UUID getId() { } } - private class StubPickleStepTestStep implements PickleStepTestStep { + private static class StubPickleStepTestStep implements PickleStepTestStep { @Override public String getPattern() { return null;