Skip to content

Commit

Permalink
Re-added less-specific test to ensure regex usage does not trigger an…
Browse files Browse the repository at this point in the history
… error
  • Loading branch information
svandenhoek committed Oct 15, 2024
1 parent 73a3367 commit e9cf08a
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,11 @@ void testArrayConversionToMap() {
() ->
assertEquals(List.of("aa", "bb"), Arrays.asList((String[]) output.get("sTRINGArray"))));
}

@Test
void testWorkingValidationForEmailArray() {
List<Column> columns = List.of(column("SPAM blocklist", ColumnType.EMAIL_ARRAY));
Row row = row("SPAM blocklist", "bob@example.com,ros@example.com");
assertDoesNotThrow(() -> applyValidationAndComputed(columns, row));
}
}

0 comments on commit e9cf08a

Please sign in to comment.