NobiGo commented on code in PR #4321:
URL: https://github.com/apache/calcite/pull/4321#discussion_r2051275273
##########
testkit/src/test/java/org/apache/calcite/test/DiffRepositoryTest.java:
##########
@@ -44,4 +44,17 @@ public class DiffRepositoryTest {
}
assertThat("First assertion must always fail", assertPassed, is(false));
}
+
+ @Test void testMethodOnlyExistsInXml() {
+ boolean assertPassed = false;
+ DiffRepository r = DiffRepository.lookup(DiffRepositoryTest.class);
+ final String actual = "testMethodOnlyExistsInXml1";
+ try {
+ r.checkActualAndReferenceFiles();
+ assertPassed = true;
+ } catch (IllegalArgumentException e) {
+ assertThat(e.getMessage(), containsString(actual));
+ }
+ assertThat("First assertion must always fail", assertPassed, is(false));
Review Comment:
I don't make changes here because it is consistent with another unit test.
--
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]