RocMarshal commented on code in PR #20715:
URL: https://github.com/apache/flink/pull/20715#discussion_r962102685


##########
flink-java/src/test/java/org/apache/flink/api/java/io/RowCsvInputFormatTest.java:
##########
@@ -970,21 +939,21 @@ public void testScanOrder() throws Exception {
 
         // check first row
         result = format.nextRecord(result);
-        assertNotNull(result);
-        assertEquals(888, result.getField(0));
-        assertEquals(444, result.getField(1));
-        assertEquals(111, result.getField(2));
+        assertThat(result).isNotNull();
+        assertThat(result.getField(0)).isEqualTo(888);
+        assertThat(result.getField(1)).isEqualTo(444);
+        assertThat(result.getField(2)).isEqualTo(111);
 
         // check second row
         result = format.nextRecord(result);
-        assertNotNull(result);
-        assertEquals(333, result.getField(0));
-        assertEquals(777, result.getField(1));
-        assertEquals(0, result.getField(2));
+        assertThat(result).isNotNull();
+        assertThat(result.getField(0)).isEqualTo(333);
+        assertThat(result.getField(1)).isEqualTo(777);
+        assertThat(result.getField(2)).isEqualTo(0);

Review Comment:
   N.A



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to