From 46ac7453743f0bd889d0be3505bde2521f9f0336 Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Mon, 7 Aug 2017 20:19:24 +0200 Subject: all: Fix spelling And some other minor issues. --- media/mediaType_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'media') 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) } -- cgit v1.2.3