switch from FluentAssertions to Shouldly
Some checks failed
.NET Test / test (8.x) (push) Failing after 1m21s
.NET Test / test (9.x) (push) Failing after 1m25s

This commit is contained in:
2025-11-11 17:57:10 +04:00
parent 312219d42f
commit e28fc62b31
13 changed files with 109 additions and 81 deletions

View File

@@ -23,7 +23,7 @@ public class Populate
stream.Populate(buffer, offset, length);
buffer.Skip(offset).Take(length).Should().Equal(streamContent.Take(length));
buffer.Skip(offset).Take(length).ShouldBe(streamContent.Take(length));
}
[Theory]
@@ -38,7 +38,7 @@ public class Populate
stream.Populate(buffer);
buffer.Should().Equal(streamContent.Take(bufferSize));
buffer.ShouldBe(streamContent.Take(bufferSize));
}
[Theory]
@@ -53,6 +53,6 @@ public class Populate
Action action = () => stream.Populate(buffer);
action.Should().Throw<EndOfStreamException>();
action.ShouldThrow<EndOfStreamException>();
}
}