Skip to content

Commit cd1f034

Browse files
authored
chore: remove unused expression from Either tests (#4657)
1 parent b886c6c commit cd1f034

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/effect/test/Either.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,7 @@ describe("Either", () => {
304304

305305
it("getOrThrowWith", () => {
306306
strictEqual(pipe(Either.right(1), Either.getOrThrowWith((e) => new Error(`Unexpected Left: ${e}`))), 1)
307-
throws(() => pipe(Either.left("e"), Either.getOrThrowWith((e) => new Error(`Unexpected Left: ${e}`)))),
308-
new Error("Unexpected Left: e")
307+
throws(() => pipe(Either.left("e"), Either.getOrThrowWith((e) => new Error(`Unexpected Left: ${e}`))))
309308
})
310309

311310
it("getOrThrow", () => {

0 commit comments

Comments
 (0)