Black Lives Matter. Support the Equal Justice Initiative.

Source file src/time/zoneinfo_android_test.go

Documentation: time

     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  	ForceAndroidTzdataForTest(true)
    14  	defer ForceAndroidTzdataForTest(false)
    15  	if _, err := LoadLocation("America/Los_Angeles"); err != nil {
    16  		t.Error(err)
    17  	}
    18  }
    19  

View as plain text