summaryrefslogtreecommitdiff
path: root/src/pkg/nntp/nntp_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/nntp/nntp_test.go')
-rw-r--r--src/pkg/nntp/nntp_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/nntp/nntp_test.go b/src/pkg/nntp/nntp_test.go
index 9bd7bd6b6..bca185722 100644
--- a/src/pkg/nntp/nntp_test.go
+++ b/src/pkg/nntp/nntp_test.go
@@ -31,8 +31,8 @@ func (f faker) Close() os.Error {
}
func TestBasic(t *testing.T) {
- basicServer = strings.Join(strings.Split(basicServer, "\n", 0), "\r\n")
- basicClient = strings.Join(strings.Split(basicClient, "\n", 0), "\r\n")
+ basicServer = strings.Join(strings.Split(basicServer, "\n", -1), "\r\n")
+ basicClient = strings.Join(strings.Split(basicClient, "\n", -1), "\r\n")
var cmdbuf bytes.Buffer
var fake faker