From ac7668bb9234e46895e4f8f85316e4059cceb6cd Mon Sep 17 00:00:00 2001 From: Robin Leroy Date: Fri, 24 May 2024 20:33:20 +0200 Subject: [PATCH] Mention the source in the assertion failure Co-authored-by: Markus Scherer --- .../java/org/unicode/text/UCD/TestTestUnicodeInvariants.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unicodetools/src/test/java/org/unicode/text/UCD/TestTestUnicodeInvariants.java b/unicodetools/src/test/java/org/unicode/text/UCD/TestTestUnicodeInvariants.java index 400ede464..f74750a59 100644 --- a/unicodetools/src/test/java/org/unicode/text/UCD/TestTestUnicodeInvariants.java +++ b/unicodetools/src/test/java/org/unicode/text/UCD/TestTestUnicodeInvariants.java @@ -32,12 +32,12 @@ void testSRC_UCD_DIR() { @Test void testUnicodeInvariants() throws IOException { int rc = TestUnicodeInvariants.testInvariants(null, true); - assertEquals(0, rc, "TestUnicodeInvariants.testInvariants() failed"); + assertEquals(0, rc, "TestUnicodeInvariants.testInvariants(default) failed"); } @Test void testSecurityInvariants() throws IOException { int rc = TestUnicodeInvariants.testInvariants("SecurityInvariantTest.txt", true); - assertEquals(0, rc, "TestUnicodeInvariants.testInvariants() failed"); + assertEquals(0, rc, "TestUnicodeInvariants.testInvariants(security) failed"); } }