mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 21:49:15 +00:00
Remove continue-on-error: true because it hides errors. (#1129)
* Add test for the workflow. * Remove continue-on-error. * Remove always failing test. * Fix the hidden failure. * Regenerated.
This commit is contained in:
@@ -48,7 +48,7 @@ func TestMagickCliFail(t *testing.T) {
|
||||
t.Fatalf(`MagickCli.EncodeJpeg(...) = nil, should be an error.`)
|
||||
}
|
||||
|
||||
if got, want := err.Error(), `^encoding image with ".*/testdata/bin/magick \[convert input -quality 70 output\]" error: .*$`; !regexp.MustCompile(want).MatchString(got) {
|
||||
if got, want := err.Error(), `^encoding image with ".*/testdata/bin/magick \[input -auto-orient -quality 70 output\]" error: .*$`; !regexp.MustCompile(want).MatchString(got) {
|
||||
t.Errorf(`MagickCli.EncodeJpeg(...) = %q, should be matched with reg pattern %q`, got, want)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user