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 ed2e1ebd Better test failure messages
ed2e1ebd is described below

commit ed2e1ebd46834a840d0f070d31c42e3f8d9c0783
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Feb 12 11:31:26 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 f91d2336..19734ba7 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);
+                fail("Expected default value '" + msgId + "' threw " + e + ", 
value = '" + expectedValue + "'");
             }
         }
 

Reply via email to