misspell fixed
This commit is contained in:
parent
4f96aa28d6
commit
e4bf48f219
@ -54,8 +54,8 @@ func TestLogWriter_Write(t *testing.T) {
|
|||||||
log.SetOutput(&buf)
|
log.SetOutput(&buf)
|
||||||
w := LogWriter{}
|
w := LogWriter{}
|
||||||
input := ""
|
input := ""
|
||||||
int, err := w.Write([]byte(input))
|
val, err := w.Write([]byte(input))
|
||||||
if err != nil || int > 0 {
|
if err != nil || val > 0 {
|
||||||
t.Error("Unexpected error", err, "string lenght should be 0 instead", int)
|
t.Error("Unexpected error", err, "string length should be 0 instead", val)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user