diff options
author | Christian Muehlhaeuser <[email protected]> | 2019-08-02 15:28:43 +0000 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2019-08-10 20:11:51 +0200 |
commit | c577a9ed2347559783c44232e1f08414008c5203 (patch) | |
tree | 04cb53ae9303a2b8058f4663220fd8aa842f3f87 /output | |
parent | a93cbb0d6cc6e3a78ba34aa372abc5b41ca24b2c (diff) | |
download | hugo-c577a9ed2347559783c44232e1f08414008c5203.tar.gz hugo-c577a9ed2347559783c44232e1f08414008c5203.zip |
Fixed ineffectual assignments
Dropped/fixed ineffectual assignments after static code analysis.
Diffstat (limited to 'output')
-rw-r--r-- | output/outputFormat_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outputFormat_test.go b/output/outputFormat_test.go index 3d2fa5d17..aef1403a9 100644 --- a/output/outputFormat_test.go +++ b/output/outputFormat_test.go @@ -118,7 +118,7 @@ func TestGetFormatByFilename(t *testing.T) { f, found := formats.FromFilename("my.amp.html") require.True(t, found) require.Equal(t, AMPFormat, f) - f, found = formats.FromFilename("my.ics") + _, found = formats.FromFilename("my.ics") require.True(t, found) f, found = formats.FromFilename("my.html") require.True(t, found) |