Skip to content

Commit 143c3bb

Browse files
Cleanup
1 parent 816cd1b commit 143c3bb

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

.github/workflows/build-and-test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ jobs:
6262
needs: WarmLFS
6363
strategy:
6464
matrix:
65-
isARM:
66-
- ${{ contains(github.event.pull_request.labels.*.name, 'arch:arm32') || contains(github.event.pull_request.labels.*.name, 'arch:arm64') }}
6765
options:
6866
- os: ubuntu-latest
6967
framework: net9.0
@@ -121,10 +119,6 @@ jobs:
121119
sdk: 8.0.x
122120
runtime: -x64
123121
codecov: false
124-
exclude:
125-
- isARM: false
126-
options:
127-
os: buildjet-4vcpu-ubuntu-2204-arm
128122

129123
runs-on: ${{ matrix.options.os }}
130124

tests/ImageSharp.Tests/Formats/Jpg/JpegDecoderTests.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -432,9 +432,5 @@ public void Issue2948_No_SOS_Decode_Throws_InvalidImageContentException<TPixel>(
432432
[Theory]
433433
[InlineData(TestImages.Jpeg.Issues.Issue2948)]
434434
public void Issue2948_No_SOS_Identify_Throws_InvalidImageContentException(string imagePath)
435-
=> Assert.Throws<InvalidImageContentException>(() =>
436-
{
437-
TestFile testFile = TestFile.Create(imagePath);
438-
ImageInfo imageInfo = Image.Identify(testFile.Bytes);
439-
});
435+
=> Assert.Throws<InvalidImageContentException>(() => _ = Image.Identify(TestFile.Create(imagePath).Bytes));
440436
}

0 commit comments

Comments
 (0)