mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
Allow slices in the image Filter funcs, not just varargs
[ci skip] See #6255
This commit is contained in:
@@ -512,7 +512,7 @@ func TestImageOperationsGolden(t *testing.T) {
|
||||
c.Assert(rel, qt.Not(qt.Equals), "")
|
||||
}
|
||||
|
||||
resized, err = resized.Filter(filters[0:4]...)
|
||||
resized, err = resized.Filter(filters[0:4])
|
||||
c.Assert(err, qt.IsNil)
|
||||
rel := resized.RelPermalink()
|
||||
c.Log("filter all", rel)
|
||||
|
Reference in New Issue
Block a user