Skip to content

Commit 67f7848

Browse files
committed
try to fix LFS for *.BMP
1 parent 44d294e commit 67f7848

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
*.jpg filter=lfs diff=lfs merge=lfs -text
116116
*.jpeg filter=lfs diff=lfs merge=lfs -text
117117
*.bmp filter=lfs diff=lfs merge=lfs -text
118+
*.BMP filter=lfs diff=lfs merge=lfs -text
118119
*.gif filter=lfs diff=lfs merge=lfs -text
119120
*.png filter=lfs diff=lfs merge=lfs -text
120121
*.tif filter=lfs diff=lfs merge=lfs -text

tests/ImageSharp.Tests/Formats/Bmp/BmpDecoderTests.cs

+1-6
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ public void BmpDecoder_CanDecode_Os2v2Header<TPixel>(TestImageProvider<TPixel> p
598598
}
599599
}
600600

601-
[ConditionalTheory]
601+
[Theory]
602602
[WithFile(Os2BitmapArray, PixelTypes.Rgba32)]
603603
[WithFile(Os2BitmapArray9s, PixelTypes.Rgba32)]
604604
[WithFile(Os2BitmapArrayDiamond, PixelTypes.Rgba32)]
@@ -611,11 +611,6 @@ public void BmpDecoder_CanDecode_Os2v2Header<TPixel>(TestImageProvider<TPixel> p
611611
public void BmpDecoder_CanDecode_Os2BitmapArray<TPixel>(TestImageProvider<TPixel> provider)
612612
where TPixel : unmanaged, IPixel<TPixel>
613613
{
614-
if (TestEnvironment.IsLinux)
615-
{
616-
throw new SkipTestException("See discussion on https://github.com/SixLabors/ImageSharp/pull/2890");
617-
}
618-
619614
using (Image<TPixel> image = provider.GetImage(BmpDecoder))
620615
{
621616
image.DebugSave(provider);

0 commit comments

Comments
 (0)