aboutsummaryrefslogtreecommitdiff
path: root/go/glog/glog_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/glog/glog_test.go')
-rw-r--r--go/glog/glog_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/glog/glog_test.go b/go/glog/glog_test.go
index e4cac5a52..711c37dbf 100644
--- a/go/glog/glog_test.go
+++ b/go/glog/glog_test.go
@@ -106,7 +106,7 @@ func TestHeader(t *testing.T) {
}
Info("test")
var line, pid int
- n, err := fmt.Sscanf(contents(infoLog), "I0102 15:04:05.678901 %d glog_test.go:%d] test\n", &pid, &line)
+ n, err := fmt.Sscanf(contents(infoLog), "I0102 15:04:05 %d glog_test.go:%d] test\n", &pid, &line)
if n != 2 || err != nil {
t.Errorf("log format error: %d elements, error %s:\n%s", n, err, contents(infoLog))
}