Skip to content

Commit

Permalink
add result deconstructor extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasteles committed May 24, 2023
1 parent 97e982c commit 90f98bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CSharpPlus.Tests/ResultTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public void ShouldMatchPropertyOk()
[Test]
public void ShouldMatchTupleOk()
{
if (Result<int, string>.Ok(42) is (42, null))
if (Result<int, string>.Ok(42) is (true, 42, null))
Assert.Pass();

Assert.Fail("unexpected!");
Expand Down

0 comments on commit 90f98bc

Please sign in to comment.