dcapwell commented on code in PR #2190:
URL: https://github.com/apache/cassandra/pull/2190#discussion_r1125104749
##########
test/unit/org/apache/cassandra/cql3/CQLTester.java:
##########
@@ -1398,9 +1399,10 @@ protected void assertRowsNet(ProtocolVersion
protocolVersion, ResultSet result,
Object[] expected = rows[i];
Row actual = iter.next();
- Assert.assertEquals(String.format("Invalid number of (expected)
values provided for row %d (using protocol version %s)",
- i, protocolVersion),
- meta.size(), expected.length);
+ Assertions.assertThat(meta.size())
Review Comment:
functionally the same but was confused when I saw the error msg; it did not
contain the row, and it was backwards so (expected = actual and actual =
expected)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]