Skip to content

Commit eee453b

Browse files
author
handyande
committed
This test failed on a machine where the default locale was en_US
fixed
1 parent e16c322 commit eee453b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/java/org/codehaus/plexus/i18n/DefaultI18NTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ protected void setUp()
7676
{
7777
super.setUp();
7878

79+
/* Set an unsupported locale to default to ensure we do not get unexpected matches */
80+
Locale.setDefault( new Locale( "jp" ) );
81+
7982
i18n = (I18N) lookup( I18N.ROLE );
8083
}
8184

0 commit comments

Comments
 (0)