all: Fix spelling

And some other minor issues.
This commit is contained in:
Bjørn Erik Pedersen
2017-08-07 20:19:24 +02:00
parent 4b54fb0701
commit 46ac745374
8 changed files with 8 additions and 9 deletions

View File

@@ -73,7 +73,7 @@ func TestFromTypeString(t *testing.T) {
require.NoError(t, err)
require.Equal(t, Type{MainType: "application", SubType: "custom", Suffix: "pdf", Delimiter: defaultDelimiter}, f)
f, err = FromString("noslash")
_, err = FromString("noslash")
require.Error(t, err)
}