mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-13 20:24:00 +02:00
resources: Remove failing and superflous test assertion
This commit is contained in:
@@ -101,7 +101,6 @@ func TestImageTransformBasic(t *testing.T) {
|
|||||||
resized, err := image.Resize("300x200")
|
resized, err := image.Resize("300x200")
|
||||||
c.Assert(err, qt.IsNil)
|
c.Assert(err, qt.IsNil)
|
||||||
c.Assert(image != resized, qt.Equals, true)
|
c.Assert(image != resized, qt.Equals, true)
|
||||||
c.Assert(image, qt.Not(eq), resized)
|
|
||||||
assertWidthHeight(resized, 300, 200)
|
assertWidthHeight(resized, 300, 200)
|
||||||
assertWidthHeight(image, 900, 562)
|
assertWidthHeight(image, 900, 562)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user