Skip to content

Commit 0c8254d

Browse files
committed
Fix error string assert now that there's a new error string
1 parent 319e306 commit 0c8254d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/camera/camera_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,8 @@ func TestNamedImage(t *testing.T) {
775775
test.That(t, err, test.ShouldBeNil)
776776
_, err = ni.Bytes(ctx)
777777
test.That(t, err, test.ShouldBeError)
778-
test.That(t, err.Error(), test.ShouldEqual, `could not encode image: do not know how to encode "bad-mime-type"`)
778+
test.That(t, err.Error(), test.ShouldEqual,
779+
`could not encode image with encoding bad-mime-type: do not know how to encode "bad-mime-type"`)
779780
})
780781
})
781782

0 commit comments

Comments
 (0)