]> Cypherpunks repositories - gostls13.git/commitdiff
utf16: fix cyclic dependency when testing on Windows
authorPeter Mundy <go.peter.90@gmail.com>
Sat, 17 Jul 2010 23:52:53 +0000 (16:52 -0700)
committerRuss Cox <rsc@golang.org>
Sat, 17 Jul 2010 23:52:53 +0000 (16:52 -0700)
(on Windows, syscall depends on utf16)

R=rsc
CC=golang-dev
https://golang.org/cl/1664053

src/pkg/utf16/utf16_test.go

index c0848aa387289e19ecd3bb3980f72d35c922d011..87e38126e9bc88382e74fa70a001e2c3cd8dd78f 100644 (file)
@@ -2,13 +2,14 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package utf16
+package utf16_test
 
 import (
        "fmt"
        "reflect"
        "testing"
        "unicode"
+       . "utf16"
 )
 
 type encodeTest struct {