summaryrefslogtreecommitdiff
path: root/src/pkg/time/internal_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/time/internal_test.go')
-rw-r--r--src/pkg/time/internal_test.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pkg/time/internal_test.go b/src/pkg/time/internal_test.go
new file mode 100644
index 000000000..d7e707653
--- /dev/null
+++ b/src/pkg/time/internal_test.go
@@ -0,0 +1,12 @@
+// Copyright 2011 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 init() {
+ // force US/Pacific for time zone tests
+ onceSetupZone.Do(setupTestingZone)
+}
+
+var Interrupt = interrupt