Make Spring Boot tests locale independent

Fixes gh-405
This commit is contained in:
Sebastien Deleuze
2014-02-26 16:23:48 +01:00
committed by Dave Syer
parent 42f363dc12
commit e9ead99e9c
2 changed files with 7 additions and 1 deletions

View File

@@ -69,7 +69,7 @@ public final class DetailedProgressReporterTests {
this.session.getTransferListener().transferSucceeded(completedEvent);
assertTrue(new String(this.baos.toByteArray()).matches(String.format(
"Downloaded: %s%s \\(4KB at [0-9]+\\.[0-9]KB/sec\\)\\n", REPOSITORY,
"Downloaded: %s%s \\(4KB at [0-9]+(\\.|,)[0-9]KB/sec\\)\\n", REPOSITORY,
ARTIFACT)));
}
}