extensions rework pt1
.NET Test / .NET tests (push) Successful in 2m0s

This commit is contained in:
2026-07-13 22:20:47 +04:00
parent 46487a4794
commit 0e7986996f
30 changed files with 1476 additions and 160 deletions
+2 -1
View File
@@ -37,6 +37,7 @@ public class GeneralUsage
var result = Result.Success()
.Append(() => Result.Failure<int>(error))
.Append("test")
.Tap(onSuccess: (i, s) => true.ShouldBeFalse("should not reach this path"))
.Map((i, s) =>
{
true.ShouldBeFalse("should not reach this path");
@@ -85,7 +86,7 @@ public class GeneralUsage
return "";
}
);
result.ShouldBe("TEST_1;SOME");
}