Skip to content

Commit

Permalink
Remove test that is no longer relevant.
Browse files Browse the repository at this point in the history
  • Loading branch information
kosak committed Jan 5, 2022
1 parent 8e64c79 commit 8862a18
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import java.time.ZoneId;

public class DeephavenCsvTest {

@Test
public void dateTimeCustomTimezone() throws CsvReaderException {
final ZoneId nycId = ZoneId.of("America/New_York");
Expand All @@ -34,15 +33,6 @@ public void dateTimeCustomTimezone() throws CsvReaderException {
invokeTest(input, CsvSpecs.csv(), expected);
}

@Test
public void illegalDeephavenColumnName() {
final String input = "" +
"3abc,ok,hello there\n" +
"Hello,there,Deephaven\n";
Assertions.assertThatThrownBy(() -> invokeTest(input, CsvSpecs.csv(), null))
.hasMessageContaining("Invalid headers: 3abc, hello there");
}

private static void invokeTest(String input, CsvSpecs specs, Table expected) throws CsvReaderException {
final Table actual = specs.parse(input);
final String differences = TableTools.diff(actual, expected, 25);
Expand Down

0 comments on commit 8862a18

Please sign in to comment.