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:
Googol Lee
2024-11-19 19:03:19 +01:00
committed by GitHub
parent 6b33e88258
commit 772129dbeb
16 changed files with 20 additions and 22 deletions

View File

@@ -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)
}
}