frankgh commented on code in PR #135: URL: https://github.com/apache/cassandra-analytics/pull/135#discussion_r2252551986
########## cassandra-analytics-cdc-sidecar/src/test/java/org/apache/cassandra/cdc/CassandraClientSourceTest.java: ########## @@ -64,8 +64,8 @@ public void testGetPrimaryKeyObjects() new TestValue("ks", "b", "text", ByteBuffer.wrap("test".getBytes(StandardCharsets.UTF_8))) ); Object[] primaryKeyValues = CassandraClientSource.getPrimaryKeyObjects(TYPES, primaryKeyColumns); - assertEquals(1, primaryKeyValues[0]); - assertEquals("test", primaryKeyValues[1]); + assertThat(primaryKeyValues[0]).isEqualTo(1); Review Comment: "you" can also do this: ```suggestion assertThat(primaryKeyValues[0]).isOne(); ``` -- 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: commits-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org