summaryrefslogtreecommitdiff
path: root/src/pkg/log/syslog/syslog_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/log/syslog/syslog_test.go')
-rw-r--r--src/pkg/log/syslog/syslog_test.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pkg/log/syslog/syslog_test.go b/src/pkg/log/syslog/syslog_test.go
index b9793e91a..0fd623905 100644
--- a/src/pkg/log/syslog/syslog_test.go
+++ b/src/pkg/log/syslog/syslog_test.go
@@ -1,6 +1,9 @@
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+
+// +build !windows,!plan9
+
package syslog
import (
@@ -61,9 +64,9 @@ func TestNewLogger(t *testing.T) {
if skipNetTest(t) {
return
}
- f := NewLogger(LOG_INFO, 0)
+ f, err := NewLogger(LOG_INFO, 0)
if f == nil {
- t.Error("NewLogger() failed")
+ t.Error(err)
}
}