aboutsummaryrefslogtreecommitdiffhomepage
path: root/helpers/general_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-12-28 22:52:27 +0100
committerBjørn Erik Pedersen <[email protected]>2017-12-28 22:52:27 +0100
commit612dcc19443c0c4221043e32159f2b11456b75da (patch)
treece890a400ba29b65eef36550e1885d440e92f006 /helpers/general_test.go
parente50a8c7a142487d88fe0780c24873c1b95a2283c (diff)
downloadhugo-612dcc19443c0c4221043e32159f2b11456b75da.tar.gz
hugo-612dcc19443c0c4221043e32159f2b11456b75da.zip
helpers: Avoid writing the last MD5 buff part twice
Diffstat (limited to 'helpers/general_test.go')
-rw-r--r--helpers/general_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/general_test.go b/helpers/general_test.go
index 6a7dd4883..16df69d24 100644
--- a/helpers/general_test.go
+++ b/helpers/general_test.go
@@ -311,7 +311,7 @@ func TestFastMD5FromFile(t *testing.T) {
m1, err := MD5FromFileFast(sf1)
req.NoError(err)
- req.Equal("308d8a1127b46524b51507424071c22c", m1)
+ req.Equal("e9c8989b64b71a88b4efb66ad05eea96", m1)
m2, err := MD5FromFileFast(sf2)
req.NoError(err)