mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-12 20:13:59 +02:00
Some godoc adjustments and image struct renames
This commit is contained in:
@@ -29,6 +29,7 @@ import (
|
||||
"github.com/gohugoio/hugo/hugofs"
|
||||
|
||||
"github.com/gohugoio/hugo/media"
|
||||
"github.com/gohugoio/hugo/resources/images"
|
||||
"github.com/gohugoio/hugo/resources/internal"
|
||||
|
||||
"github.com/gohugoio/hugo/helpers"
|
||||
@@ -361,7 +362,7 @@ func TestTransform(t *testing.T) {
|
||||
c.Assert(err, qt.IsNil)
|
||||
c.Assert(tr.MediaType(), eq, media.PNGType)
|
||||
|
||||
img, ok := tr.(resource.Image)
|
||||
img, ok := tr.(images.ImageResource)
|
||||
c.Assert(ok, qt.Equals, true)
|
||||
|
||||
c.Assert(img.Width(), qt.Equals, 75)
|
||||
|
Reference in New Issue
Block a user