Skip to content

Commit

Permalink
[Hotfix][Format][Json] Fix unit test (apache#3923)
Browse files Browse the repository at this point in the history
  • Loading branch information
TyrantLucifer authored Jan 12, 2023
1 parent 243b6a6 commit 12200a5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ public void testDeserializationNullRow() throws Exception {
SeaTunnelRowType schema = new SeaTunnelRowType(new String[]{"name"}, new SeaTunnelDataType[]{STRING_TYPE});
JsonDeserializationSchema deserializationSchema =
new JsonDeserializationSchema(true, false, schema);

assertNull(deserializationSchema.deserialize(null));
String s = null;
assertNull(deserializationSchema.deserialize(s));
}

@Test
Expand Down

0 comments on commit 12200a5

Please sign in to comment.