diff options
Diffstat (limited to 'libgo/go/mime/multipart/multipart_test.go')
-rw-r--r-- | libgo/go/mime/multipart/multipart_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgo/go/mime/multipart/multipart_test.go b/libgo/go/mime/multipart/multipart_test.go index dd5d7c1..89ff5e4 100644 --- a/libgo/go/mime/multipart/multipart_test.go +++ b/libgo/go/mime/multipart/multipart_test.go @@ -6,10 +6,10 @@ package multipart import ( "bytes" + "encoding/json" "fmt" "io" "io/ioutil" - "json" "strings" "testing" ) @@ -214,7 +214,7 @@ func testMultipart(t *testing.T, r io.Reader, onlyNewlines bool) { t.Error("Didn't expect a fifth part.") } if err != io.EOF { - t.Errorf("On fifth part expected os.EOF; got %v", err) + t.Errorf("On fifth part expected io.EOF; got %v", err) } } @@ -259,7 +259,7 @@ func TestVariousTextLineEndings(t *testing.T) { t.Errorf("Unexpected part in test %d", testNum) } if err != io.EOF { - t.Errorf("On test %d expected os.EOF; got %v", testNum, err) + t.Errorf("On test %d expected io.EOF; got %v", testNum, err) } } |