mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-09 00:07:29 -06:00
hell yeah
This commit is contained in:
parent
276ce6cd98
commit
9e1f61c373
10 changed files with 496 additions and 112 deletions
|
|
@ -135,10 +135,10 @@ func (suite *MediaUtilTestSuite) TestDeriveThumbnailFromJPEG() {
|
|||
}
|
||||
|
||||
func (suite *MediaUtilTestSuite) TestSupportedImageTypes() {
|
||||
ok := supportedImageType("image/jpeg")
|
||||
ok := SupportedImageType("image/jpeg")
|
||||
assert.True(suite.T(), ok)
|
||||
|
||||
ok = supportedImageType("image/bmp")
|
||||
ok = SupportedImageType("image/bmp")
|
||||
assert.False(suite.T(), ok)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue