misspell fixed

This commit is contained in:
asoseil 2017-12-29 19:38:20 +01:00
parent 4f96aa28d6
commit e4bf48f219
1 changed files with 3 additions and 3 deletions

View File

@ -54,8 +54,8 @@ func TestLogWriter_Write(t *testing.T) {
log.SetOutput(&buf)
w := LogWriter{}
input := ""
int, err := w.Write([]byte(input))
if err != nil || int > 0 {
t.Error("Unexpected error", err, "string lenght should be 0 instead", int)
val, err := w.Write([]byte(input))
if err != nil || val > 0 {
t.Error("Unexpected error", err, "string length should be 0 instead", val)
}
}