diff options
Diffstat (limited to 'config-model/src/test/java/com/yahoo/searchdefinition/derived/SimpleInheritTestCase.java')
-rw-r--r-- | config-model/src/test/java/com/yahoo/searchdefinition/derived/SimpleInheritTestCase.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/derived/SimpleInheritTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/derived/SimpleInheritTestCase.java index 45a6240d3ba..83e11c365f8 100644 --- a/config-model/src/test/java/com/yahoo/searchdefinition/derived/SimpleInheritTestCase.java +++ b/config-model/src/test/java/com/yahoo/searchdefinition/derived/SimpleInheritTestCase.java @@ -45,10 +45,8 @@ public class SimpleInheritTestCase extends AbstractExportingTestCase { private void checkDir(String toDirName, String expectedResultsDirName) throws IOException { File[] files = new File(expectedResultsDirName).listFiles(); for (File file : files) { - if (!file.getName().endsWith(".cfg")) { - continue; - } - assertEqualFiles(file.getPath(), toDirName + "/" + file.getName()); + if ( ! file.getName().endsWith(".cfg")) continue; + assertEqualFiles(file.getPath(), toDirName + "/" + file.getName(), false); } } } |