Skip to content

Commit 8e4312d

Browse files
author
SamLaptop
committed
fix: Removed extra test
1 parent 39ecc3a commit 8e4312d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/FsToolkit.ErrorHandling.Tests/Result.fs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -886,15 +886,6 @@ let checkTests =
886886
Expect.equal output (Error(2)) "Should be Error"
887887
)
888888

889-
testCase "Using the result value in the predicate"
890-
<| (fun () ->
891-
let output =
892-
Result.check (fun number -> if number = 1 then Error(2) else Ok()) (Ok(1))
893-
894-
Expect.equal output (Error(2)) "Should be Error"
895-
)
896-
897-
898889
testCase "Using the result value in the predicate"
899890
<| (fun () ->
900891
let output =

0 commit comments

Comments
 (0)