diff options
author | 2024-03-24 12:56:02 -0700 | |
---|---|---|
committer | 2024-03-24 13:25:02 -0700 | |
commit | e3b3c40c287c4496c6df48f00e930d4f3d544506 (patch) | |
tree | 0c23ebe481c5be263fd9f6ee37f6ac91dc838a52 /internal/timezone/timezone_test.go | |
parent | 068790fc19855b9d91e5bc225473434d9aa864b5 (diff) | |
download | v2-e3b3c40c287c4496c6df48f00e930d4f3d544506.tar.gz v2-e3b3c40c287c4496c6df48f00e930d4f3d544506.tar.zst v2-e3b3c40c287c4496c6df48f00e930d4f3d544506.zip |
timezone: make sure the tests pass when the timezone database is not installed on the host
Diffstat (limited to '')
-rw-r--r-- | internal/timezone/timezone_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/timezone/timezone_test.go b/internal/timezone/timezone_test.go index dc80c22f..49957b7a 100644 --- a/internal/timezone/timezone_test.go +++ b/internal/timezone/timezone_test.go @@ -6,6 +6,9 @@ package timezone // import "miniflux.app/v2/internal/timezone" import ( "testing" "time" + + // Make sure these tests pass when the timezone database is not installed on the host system. + _ "time/tzdata" ) func TestNow(t *testing.T) { |