JamesDeCarlo / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

DefaultDateTypeAdapterTest#testDateSerialization fails on non-US systems #374

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run DefaultDateTypeAdapterTest

What is the expected output? What do you see instead?
Failed tests: 
  testDateSerialization(com.google.gson.DefaultDateTypeAdapterTest): expected:<[31 oktober] 2011> but was:<[October 31,] 2011>

Locale.US should be used to create the expected value

Original issue reported on code.google.com by d.de...@gmail.com on 31 Oct 2011 at 1:04

GoogleCodeExporter commented 9 years ago
Fixed with issue 381.

Original comment by limpbizkit on 16 Dec 2011 at 5:02