Skip to content

Commit

Permalink
replace buggy image
Browse files Browse the repository at this point in the history
  • Loading branch information
logica0419 committed Dec 11, 2023
1 parent 3f0350d commit 3f2c8d9
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions service/imaging/processor_default_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ func TestProcessorDefault_FitAnimationGIF(t *testing.T) {
err: ErrInvalidImageSrc,
},
{
name: "success (tooth 正方形)",
name: "success (tooth 正方形、Disposal設定アリ)",
file: "tooth.gif",
want: utils.MustIoReaderToBytes(testutils.MustOpenGif("tooth_resized.gif")),
err: nil,
},
{
name: "success (frog 横長、Disposal設定アリ)",
name: "success (new_year 横長)",
file: "frog.gif",
want: utils.MustIoReaderToBytes(testutils.MustOpenGif("frog_resized.gif")),
err: nil,
Expand Down
4 changes: 2 additions & 2 deletions testdata/gif/embed.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ var FS embed.FS
// miku.gif https://piapro.jp/t/FB3J
// marucaさんの作品

// tooth.gif https://patirabi.com/2021/10/10/061gif/
// new_year.gif https://freesozaixtrain.web.fc2.com/freesozai-nenga-train2.html

// frog.gif https://sozai-good.com/illust/gifanimation/29065
// tooth.gif https://patirabi.com/2021/10/10/061gif/
Binary file removed testdata/gif/frog.gif
Binary file not shown.
Binary file removed testdata/gif/frog_resized.gif
Binary file not shown.
Binary file added testdata/gif/new_year.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added testdata/gif/new_year_resized.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/gif/tooth.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/gif/tooth_resized.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3f2c8d9

Please sign in to comment.