Skip to content

Commit

Permalink
FIx testMissingRequiredFields
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhang10 committed Oct 20, 2022
1 parent ef9ef6f commit f5f4dbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public void testMissingRequiredFields() {
AssertHelpers.assertThrows(
"Missing required field in nameMapping",
IllegalArgumentException.class,
"Missing required field: x",
"Missing required field that doesn't have a default value: x",
// In this case, pruneColumns result is an empty record
() -> writeAndRead(writeSchema, readSchema, record, nameMapping));
}
Expand Down

0 comments on commit f5f4dbb

Please sign in to comment.