Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit f578a63

Browse files
authored
test: fix a flaky test (#54)
* test: fix a flaky test * chore: specify indent size for .cs
1 parent 04399eb commit f578a63

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.editorconfig

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ indent_size = 2
1414
generated_code = true
1515

1616
[*.cs]
17+
indent_size = 4
1718
file_header_template = Copyright (c) homuler & The Vignette Authors. Licensed under the MIT license.\nSee the LICENSE file in the repository root for more details.
1819

1920
#Formatting - indentation options

src/Akihabara.Tests/Framework/ImageFormat/ImageFrameTest.cs

-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ public void SetToZero_ShouldSetZeroToAllBytes()
123123
using (var imageFrame = new ImageFrame(ImageFormat.Format.Gray8, 10, 10))
124124
{
125125
var origBytes = imageFrame.CopyToByteBuffer(100);
126-
Assert.False(origBytes.All((x) => x == 0));
127126

128127
imageFrame.SetToZero();
129128
var bytes = imageFrame.CopyToByteBuffer(100);

0 commit comments

Comments
 (0)