summaryrefslogtreecommitdiffstats
path: root/resources/images/filters_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'resources/images/filters_test.go')
-rw-r--r--resources/images/filters_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/images/filters_test.go b/resources/images/filters_test.go
index 658a9a427..1243e483b 100644
--- a/resources/images/filters_test.go
+++ b/resources/images/filters_test.go
@@ -16,7 +16,7 @@ package images
import (
"testing"
- "github.com/gohugoio/hugo/resources/internal"
+ "github.com/gohugoio/hugo/helpers"
qt "github.com/frankban/quicktest"
)
@@ -26,9 +26,9 @@ func TestFilterHash(t *testing.T) {
f := &Filters{}
- c.Assert(internal.HashString(f.Grayscale()), qt.Equals, internal.HashString(f.Grayscale()))
- c.Assert(internal.HashString(f.Grayscale()), qt.Not(qt.Equals), internal.HashString(f.Invert()))
- c.Assert(internal.HashString(f.Gamma(32)), qt.Not(qt.Equals), internal.HashString(f.Gamma(33)))
- c.Assert(internal.HashString(f.Gamma(32)), qt.Equals, internal.HashString(f.Gamma(32)))
+ c.Assert(helpers.HashString(f.Grayscale()), qt.Equals, helpers.HashString(f.Grayscale()))
+ c.Assert(helpers.HashString(f.Grayscale()), qt.Not(qt.Equals), helpers.HashString(f.Invert()))
+ c.Assert(helpers.HashString(f.Gamma(32)), qt.Not(qt.Equals), helpers.HashString(f.Gamma(33)))
+ c.Assert(helpers.HashString(f.Gamma(32)), qt.Equals, helpers.HashString(f.Gamma(32)))
}