cleanup/etc

This commit is contained in:
Zoltan Haindrich 2023-10-04 11:49:27 +00:00
parent a10fe7af09
commit 6082df5fc2
2 changed files with 6 additions and 5 deletions

View File

@ -120,20 +120,21 @@ import org.junit.Rule;
import org.junit.rules.ExpectedException;
import org.junit.rules.TemporaryFolder;
import javax.annotation.Nullable;
import java.io.IOException;
import java.io.PrintStream;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import java.util.function.Consumer;
import java.util.stream.Collectors;
import javax.annotation.Nullable;
import static org.junit.Assert.assertEquals;
/**
@ -1084,7 +1085,7 @@ public class BaseCalciteQueryTest extends CalciteTestBase
expectedCell = NullHandling.defaultValueForType(queryResults.signature.getColumnType(i).get().getType());
}
assertEquals(
String.format("column content mismatch at %d,%d", row, i),
String.format(Locale.ENGLISH, "column content mismatch at %d,%d", row, i),
expectedCell,
resultCell);
}

View File

@ -49,8 +49,8 @@ public class QueryVerification
for (QueryTestRunner.QueryResults queryResults : execStep.results()) {
try {
verifier.verifyResults(queryResults);
} catch (Exception e)
{
}
catch (Exception e) {
throw new RuntimeException("Exception during verification!", e);
}
}