summaryrefslogtreecommitdiff
path: root/internal/media/manager_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-11-30 10:50:28 +0100
committerLibravatar GitHub <noreply@github.com>2023-11-30 10:50:28 +0100
commit0108463e7b179af1c796042dd10f4fe1020b9075 (patch)
treee18fb53a8950153be0a17060329b70ef5d222be8 /internal/media/manager_test.go
parent[performance/postgres] Rename constraints, remove duplicate indexes (#2392) (diff)
downloadgotosocial-0108463e7b179af1c796042dd10f4fe1020b9075.tar.xz
[bugfix] Update exif-terminator (fix png issue) (#2391)
* [bugfix] Update exif-terminator (fix png issue) * bump exif terminator * fix tests
Diffstat (limited to 'internal/media/manager_test.go')
-rw-r--r--internal/media/manager_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/media/manager_test.go b/internal/media/manager_test.go
index 4a3d3c886..f90c182fe 100644
--- a/internal/media/manager_test.go
+++ b/internal/media/manager_test.go
@@ -404,7 +404,7 @@ func (suite *ManagerTestSuite) TestSimpleJpegProcessPartial() {
// Since we're cutting off the byte stream
// halfway through, we should get an error here.
- suite.EqualError(err, "finish: error decoding image: unexpected EOF")
+ suite.EqualError(err, "store: error writing media to storage: scan-data is unbounded; EOI not encountered before EOF")
suite.NotNil(attachment)
// make sure it's got the stuff set on it that we expect