diff options
Diffstat (limited to 'libgo/go/time/export_android_test.go')
-rw-r--r-- | libgo/go/time/export_android_test.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libgo/go/time/export_android_test.go b/libgo/go/time/export_android_test.go new file mode 100644 index 0000000000..fa6a058a73 --- /dev/null +++ b/libgo/go/time/export_android_test.go @@ -0,0 +1,12 @@ +// Copyright 2016 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package time + +func ForceAndroidTzdataForTest(tzdata bool) { + tzdataPaths = origTzdataPaths + if tzdata { + tzdataPaths = tzdataPaths[:1] + } +} |