Adding gif support (#1225)
* Adding gif to accepted image extension and unit test
* Revert "Adding gif to accepted image extension and unit test"
This reverts commit d0df823906
.
* Adding gif support and unit test
* unit test and event widget
- updating unit test archives to temive unneeded gifs, causing failures
- adding overflow to event widget
This commit is contained in:
parent
28e5c70811
commit
70196e6e4c
5 changed files with 4 additions and 1 deletions
|
@ -179,6 +179,7 @@ namespace API.Tests.Parser
|
|||
[InlineData(".test.jpg", false)]
|
||||
[InlineData("!test.jpg", true)]
|
||||
[InlineData("test.webp", true)]
|
||||
[InlineData("test.gif", true)]
|
||||
public void IsImageTest(string filename, bool expected)
|
||||
{
|
||||
Assert.Equal(expected, IsImage(filename));
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue