diff options
author | tomocy <tomocy.dev@gmail.com> | 2019-04-24 06:31:49 +0300 |
---|---|---|
committer | tomocy <tomocy.dev@gmail.com> | 2019-04-24 06:31:49 +0300 |
commit | e79a9af51b26b94d3bd14d023a5c7ff29b4f98d6 (patch) | |
tree | ff1329168790d9d86ba539d642e8fb6283f6a5a5 | |
parent | a0d81a2e08fcc07883c0b25ea6661203e77b7703 (diff) |
add TestFmtTimeShort of ja
-rw-r--r-- | ja/ja_test.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ja/ja_test.go b/ja/ja_test.go index 726922da..4ee1823f 100644 --- a/ja/ja_test.go +++ b/ja/ja_test.go @@ -730,14 +730,14 @@ func TestFmtTimeShort(t *testing.T) { t time.Time expected string }{ - // { - // t: time.Date(2016, 02, 03, 9, 5, 1, 0, time.UTC), - // expected: "9:05 am", - // }, - // { - // t: time.Date(2016, 02, 03, 20, 5, 1, 0, time.UTC), - // expected: "8:05 pm", - // }, + { + t: time.Date(2016, 02, 03, 9, 5, 1, 0, time.UTC), + expected: "9:05", + }, + { + t: time.Date(2016, 02, 03, 20, 5, 1, 0, time.UTC), + expected: "20:05", + }, } trans := New() |