diff options
author | Roel Spilker <r.spilker@gmail.com> | 2012-03-05 20:20:25 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2012-03-05 20:20:25 +0100 |
commit | 82d939844f34a58062f01b9fdfcbf29d5f50aad8 (patch) | |
tree | 07cae48ceb8e6b4aaca9aee7064d74900c6d5a2b /test | |
parent | 4c8cc228e8f72972fa91a6c96d6e5bdf5ab6905c (diff) | |
parent | b01f5aba871bc84945031d6f2322fddf4ede4543 (diff) | |
download | lombok-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')
-rw-r--r-- | test/core/src/lombok/RunTestsViaDelombok.java | 8 |
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); + } } } |