Merge pull request #3897 from adshmh/fix-linter-warning-on-template-unit-test

Resolve warning from golint on template command unit test
pull/3900/head
Matthew Fisher 7 years ago committed by GitHub
commit e7bd2a347e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -160,9 +160,8 @@ func TestTemplateCmd(t *testing.T) {
// had the error we were looking for, this test case is
// done
return
} else {
t.Fatalf("expected err: %q, got: %q", tt.expectError, err)
}
t.Fatalf("expected err: %q, got: %q", tt.expectError, err)
} else if err != nil {
t.Errorf("expected no error, got %v", err)
}

Loading…
Cancel
Save