aboutsummaryrefslogtreecommitdiff
path: root/test/core/src
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2012-03-05 20:20:25 +0100
committerRoel Spilker <r.spilker@gmail.com>2012-03-05 20:20:25 +0100
commit82d939844f34a58062f01b9fdfcbf29d5f50aad8 (patch)
tree07cae48ceb8e6b4aaca9aee7064d74900c6d5a2b /test/core/src
parent4c8cc228e8f72972fa91a6c96d6e5bdf5ab6905c (diff)
parentb01f5aba871bc84945031d6f2322fddf4ede4543 (diff)
downloadlombok-82d939844f34a58062f01b9fdfcbf29d5f50aad8.tar.gz
lombok-82d939844f34a58062f01b9fdfcbf29d5f50aad8.tar.bz2
lombok-82d939844f34a58062f01b9fdfcbf29d5f50aad8.zip
Merge branch 'issue349-test-failed' of https://github.com/buzztaiki/lombok into buzztaiki-issue349-test-failed
Diffstat (limited to 'test/core/src')
-rw-r--r--test/core/src/lombok/RunTestsViaDelombok.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/core/src/lombok/RunTestsViaDelombok.java b/test/core/src/lombok/RunTestsViaDelombok.java
index bde74434..a8f88757 100644
--- a/test/core/src/lombok/RunTestsViaDelombok.java
+++ b/test/core/src/lombok/RunTestsViaDelombok.java
@@ -56,6 +56,12 @@ public class RunTestsViaDelombok extends AbstractRunTests {
delombok.addFile(file.getAbsoluteFile().getParentFile(), file.getName());
delombok.setSourcepath(file.getAbsoluteFile().getParent());
delombok.setWriter(result);
- delombok.delombok();
+ Locale originalLocale = Locale.getDefault();
+ Locale.setDefault(Locale.ENGLISH);
+ try {
+ delombok.delombok();
+ } finally {
+ Locale.setDefault(originalLocale);
+ }
}
}