Source file src/time/zoneinfo_android_test.go
1 // 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 5 package time_test 6 7 import ( 8 "testing" 9 . "time" 10 ) 11 12 func TestAndroidTzdata(t *testing.T) { 13 undo := ForceAndroidTzdataForTest() 14 defer undo() 15 if _, err := LoadLocation("America/Los_Angeles"); err != nil { 16 t.Error(err) 17 } 18 } 19