diff options
| author | Chris Lu <chris.lu@gmail.com> | 2014-07-20 23:41:25 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2014-07-20 23:41:25 -0700 |
| commit | df2d3ea7c0198145005edc30344aae094cc478a0 (patch) | |
| tree | 817ec6c5154f2f40618d767a4f148999a46adf62 /go/glog/glog_test.go | |
| parent | a0b2582a75d4676348f36740a11a6489c0eb7140 (diff) | |
| download | seaweedfs-df2d3ea7c0198145005edc30344aae094cc478a0.tar.xz seaweedfs-df2d3ea7c0198145005edc30344aae094cc478a0.zip | |
fix old tests that's found not working during travis integration.
Diffstat (limited to 'go/glog/glog_test.go')
| -rw-r--r-- | go/glog/glog_test.go | 2 |
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)) } |
