blob: ba065d10a654814d0c10d3a76b8a3128b8de94d2 [file] [log] [blame]
Elias Naur80b31c02016-06-27 21:38:04 +02001// Copyright 2016 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package time_test
6
7import (
8 "testing"
9 . "time"
10)
11
12func TestAndroidTzdata(t *testing.T) {
13 ForceAndroidTzdataForTest(true)
14 defer ForceAndroidTzdataForTest(false)
15 if _, err := LoadLocation("America/Los_Angeles"); err != nil {
16 t.Error(err)
17 }
18}