diff options
| -rw-r--r-- | logger/logger_test.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/logger/logger_test.go b/logger/logger_test.go index 85eef9edd3..174da38e0c 100644 --- a/logger/logger_test.go +++ b/logger/logger_test.go @@ -5,7 +5,6 @@ import ( "errors" "fmt" "log/syslog" - "os" "regexp" "strings" "testing" @@ -101,16 +100,6 @@ func sliceContainsRegex(array []string, regex string) bool { return matches != nil } -func fileSize(path string) int64 { - st, err := os.Stat(path) - - if err != nil { - return -1 - } - - return st.Size() -} - func (ts *LoggerTestSuite) TestNewLogWriter(c *C) { w, err := newLogWriter() c.Assert(err, IsNil) |
