Skip to content

Commit 59141b9

Browse files
scordiosbrannen
authored andcommitted
Fix expected value in assertion
Closes #3406
1 parent 289168b commit 59141b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

junit-jupiter-engine/src/test/java/org/junit/jupiter/engine/config/DefaultJupiterConfigurationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ void shouldGetDefaultTempDirFactorySupplierWithConfigParamSet() {
122122

123123
Supplier<TempDirFactory> supplier = configuration.getDefaultTempDirFactorySupplier();
124124

125-
assertThat(supplier.get()).isInstanceOf(TempDirFactory.class);
125+
assertThat(supplier.get()).isInstanceOf(CustomFactory.class);
126126
}
127127

128128
private static class CustomFactory implements TempDirFactory {

0 commit comments

Comments
 (0)