resolve linter issues

This commit is contained in:
David Christofas
2021-02-25 14:37:05 +01:00
parent 0802e8aac3
commit eda3997211
8 changed files with 25 additions and 9 deletions
+1 -2
View File
@@ -93,8 +93,7 @@ func TestClosestMatch(t *testing.T) {
}
func TestParseWithEmptyString(t *testing.T) {
_, err := ParseResolution("")
if err == nil {
if _, err := ParseResolution(""); err == nil {
t.Error("Parse with empty string should return an error.")
}
}