Skip to content

Commit b6261d1

Browse files
committed
test: Fix assertion to reveal issue
1 parent 3cc9e8b commit b6261d1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

solution/c#/Day14/Day14.Tests/LangExt/FizzBuzzTests.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using FluentAssertions;
12
using FluentAssertions.LanguageExt;
23
using Xunit;
34

@@ -22,7 +23,10 @@ public void Returns_Number_Representation(int input, string expectedResult)
2223
=> Day14.LangExt.FizzBuzz
2324
.Convert(input)
2425
.Should()
25-
.BeSome(expectedResult);
26+
.BeSome()
27+
.Which
28+
.Should()
29+
.Be(expectedResult);
2630

2731
[Theory]
2832
[InlineData(0)]

0 commit comments

Comments
 (0)