Permalink
Browse files

fixed error in RssResponderTest. Default locale was set too late.

  • Loading branch information...
1 parent 545c87c commit 067e80e04dfbca4be82c7d5fa260f4a77853e1ca @bbenning bbenning committed Dec 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/fitnesse/responders/RssResponderTest.java
@@ -33,12 +33,12 @@ protected Responder responderInstance() {
public void setUp() throws Exception {
super.setUp();
+ Locale.setDefault(Locale.US);
SimpleDateFormat dateFormat = new SimpleDateFormat(FitNesseContext.recentChangesDateFormat);
date = dateFormat.format(Clock.currentDate());
SimpleDateFormat rfcDateFormat = new SimpleDateFormat(FitNesseContext.rfcCompliantDateFormat);
rfcDate = rfcDateFormat.format(Clock.currentDate());
hostName = java.net.InetAddress.getLocalHost().getHostName();
- Locale.setDefault(Locale.US);
}
public void testEmptyRssReport() throws Exception {

0 comments on commit 067e80e

Please sign in to comment.