diff options
author | Evgeny Kuznetsov <evgeny@kuznetsov.md> | 2021-05-01 21:27:00 +0300 |
---|---|---|
committer | Evgeny Kuznetsov <evgeny@kuznetsov.md> | 2021-05-01 21:27:00 +0300 |
commit | 0c5c3c194c2879366aae60f8ce89eb25ee75ca01 (patch) | |
tree | 00c0f9947e8025aac950b1d8660f5bab1aafd67b | |
parent | bad1baef6fd0ef64c270d3e442a2f5d49731df0a (diff) | |
download | radiorus-rss-0c5c3c194c2879366aae60f8ce89eb25ee75ca01.tar.gz radiorus-rss-0c5c3c194c2879366aae60f8ce89eb25ee75ca01.zip |
simplify
-rw-r--r-- | main_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main_test.go b/main_test.go index 4f465f3..6c5c172 100644 --- a/main_test.go +++ b/main_test.go @@ -329,7 +329,7 @@ func TestParseDate(t *testing.T) { } var tests = []testval{ - {[][]byte{[]byte{}, []byte("24"), []byte("11"), []byte(`2019`), []byte("14"), []byte("10")}, time.Date(2019, time.November, 24, 14, 10, 0, 0, moscow)}, + {[][]byte{{}, []byte("24"), []byte("11"), []byte(`2019`), []byte("14"), []byte("10")}, time.Date(2019, time.November, 24, 14, 10, 0, 0, moscow)}, {[][]byte{[]byte("foo"), []byte("bar"), []byte("baz"), []byte("qux"), []byte("none")}, time.Date(1970, time.January, 1, 0, 0, 0, 0, moscow)}, {[][]byte{}, time.Date(1970, time.January, 1, 0, 0, 0, 0, moscow)}, } |