aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/image/tiff/buffer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/image/tiff/buffer_test.go')
-rw-r--r--src/pkg/image/tiff/buffer_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/image/tiff/buffer_test.go b/src/pkg/image/tiff/buffer_test.go
index 4f3e68e838..e13afb3619 100644
--- a/src/pkg/image/tiff/buffer_test.go
+++ b/src/pkg/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) {