This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
The following commit(s) were added to refs/heads/master by this push:
new f7112c90 Better test failure messages
f7112c90 is described below
commit f7112c90e7b5d72a5e2b9a854d14d748809b738c
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Feb 12 11:32:17 2023 -0500
Better test failure messages
---
.../commons/beanutils2/converters/BaseLocaleConverterTestCase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/test/java/org/apache/commons/beanutils2/converters/BaseLocaleConverterTestCase.java
b/src/test/java/org/apache/commons/beanutils2/converters/BaseLocaleConverterTestCase.java
index 19734ba7..8093823d 100644
---
a/src/test/java/org/apache/commons/beanutils2/converters/BaseLocaleConverterTestCase.java
+++
b/src/test/java/org/apache/commons/beanutils2/converters/BaseLocaleConverterTestCase.java
@@ -224,7 +224,7 @@ public class BaseLocaleConverterTestCase<T> extends
TestCase {
}
} catch (final Exception e) {
if (expectedValue != null) {
- fail("Expected default value '" + msgId + "' threw " + e + ",
value = '" + expectedValue + "'");
+ fail("Expected default value '" + msgId + "' threw " + e + ",
expectedValue = '" + expectedValue + "'");
}
}