diff options
author | Bjørn Erik Pedersen <[email protected]> | 2017-08-07 20:19:24 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-08-07 20:19:24 +0200 |
commit | 46ac7453743f0bd889d0be3505bde2521f9f0336 (patch) | |
tree | cdaa5b34a3764d7ab7cb5b2d28efbed928c9b18d /media | |
parent | 4b54fb07018d5ed66ef82b6a53462e1b15c85d86 (diff) | |
download | hugo-46ac7453743f0bd889d0be3505bde2521f9f0336.tar.gz hugo-46ac7453743f0bd889d0be3505bde2521f9f0336.zip |
all: Fix spelling
And some other minor issues.
Diffstat (limited to 'media')
-rw-r--r-- | media/mediaType_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/mediaType_test.go b/media/mediaType_test.go index ffef07b80..0cdecdeb1 100644 --- a/media/mediaType_test.go +++ b/media/mediaType_test.go @@ -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) } |