summaryrefslogtreecommitdiff
path: root/libgo/go/image/tiff/buffer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/image/tiff/buffer_test.go')
-rw-r--r--libgo/go/image/tiff/buffer_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/libgo/go/image/tiff/buffer_test.go b/libgo/go/image/tiff/buffer_test.go
index 4f3e68e838c..e13afb36192 100644
--- a/libgo/go/image/tiff/buffer_test.go
+++ b/libgo/go/image/tiff/buffer_test.go
@@ -5,7 +5,7 @@
package tiff
import (
- "os"
+ "io"
"strings"
"testing"
)
@@ -14,13 +14,13 @@ var readAtTests = []struct {
n int
off int64
s string
- err os.Error
+ err error
}{
{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) {