OSDN Git Service

libgo: Update to weekly.2011-11-02.
[pf3gnuchains/gcc-fork.git] / libgo / go / image / tiff / buffer_test.go
index 4f3e68e..e13afb3 100644 (file)
@@ -5,7 +5,7 @@
 package tiff
 
 import (
 package tiff
 
 import (
-       "os"
+       "io"
        "strings"
        "testing"
 )
        "strings"
        "testing"
 )
@@ -14,13 +14,13 @@ var readAtTests = []struct {
        n   int
        off int64
        s   string
        n   int
        off int64
        s   string
-       err os.Error
+       err error
 }{
        {2, 0, "ab", nil},
        {6, 0, "abcdef", nil},
        {3, 3, "def", nil},
 }{
        {2, 0, "ab", nil},
        {6, 0, "abcdef", nil},
        {3, 3, "def", nil},
-       {3, 5, "f", os.EOF},
-       {3, 6, "", os.EOF},
+       {3, 5, "f", io.EOF},
+       {3, 6, "", io.EOF},
 }
 
 func TestReadAt(t *testing.T) {
 }
 
 func TestReadAt(t *testing.T) {