Golint and fixed a typo

This commit is contained in:
Jumpei Tsuji
2016-05-13 13:28:59 +09:00
parent db9d5922fa
commit c6384b927f
3 changed files with 11 additions and 6 deletions

View File

@@ -63,7 +63,7 @@ func TestHandleError(t *testing.T) {
t.Errorf("got %v\nwant %v", actual, expected)
}
// status unkown
// status unknown
expected = errors.New("An unknown error ocurred")
actual = HandleError(100)
if !reflect.DeepEqual(actual, expected) {