From c71b7694c471797f69ba689ad470218fe6e8e27f Mon Sep 17 00:00:00 2001 From: Sualeh Fatehi Date: Sun, 13 Oct 2024 14:21:27 -0400 Subject: [PATCH] Simplify expected resource --- .../src/test/java/schemacrawler/integration/test/DB2Test.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/schemacrawler-db2/src/test/java/schemacrawler/integration/test/DB2Test.java b/schemacrawler-db2/src/test/java/schemacrawler/integration/test/DB2Test.java index 7527cadd93..219effbb91 100644 --- a/schemacrawler-db2/src/test/java/schemacrawler/integration/test/DB2Test.java +++ b/schemacrawler-db2/src/test/java/schemacrawler/integration/test/DB2Test.java @@ -113,11 +113,9 @@ public void testDB2Dump() throws Exception { executable.setSchemaCrawlerOptions(schemaCrawlerOptions); executable.setAdditionalConfiguration(SchemaTextOptionsBuilder.builder(textOptions).toConfig()); - // -- Schema output tests - final String expectedResource = String.format("testDB2Dump.txt", javaVersion()); assertThat( outputOf(executableExecution(getDataSource(), executable)), - hasSameContentAs(classpathResource(expectedResource))); + hasSameContentAs(classpathResource("testDB2Dump.txt"))); } @Test