Explorar o código

add TestFmtTimeMedium of ja

tomocy %!s(int64=6) %!d(string=hai) anos
pai
achega
a0d81a2e08
Modificáronse 1 ficheiros con 8 adicións e 8 borrados
  1. 8 8
      ja/ja_test.go

+ 8 - 8
ja/ja_test.go

@@ -704,14 +704,14 @@ func TestFmtTimeMedium(t *testing.T) {
 		t        time.Time
 		expected string
 	}{
-		// {
-		// 	t:        time.Date(2016, 02, 03, 9, 5, 1, 0, time.UTC),
-		// 	expected: "9:05:01 am",
-		// },
-		// {
-		// 	t:        time.Date(2016, 02, 03, 20, 5, 1, 0, time.UTC),
-		// 	expected: "8:05:01 pm",
-		// },
+		{
+			t:        time.Date(2016, 02, 03, 9, 5, 1, 0, time.UTC),
+			expected: "9:05:01",
+		},
+		{
+			t:        time.Date(2016, 02, 03, 20, 5, 1, 0, time.UTC),
+			expected: "20:05:01",
+		},
 	}
 
 	trans := New()