Skip to content

Commit 977a810

Browse files
committed
test: fix the error code from -1 to 1
1 parent 1fcaaba commit 977a810

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/context-process-exit-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe("context process exit", function () {
3636
socket1.receive()
3737
})
3838

39-
assert.equal(code, -1)
39+
assert.equal(code, 1)
4040
})
4141

4242
it("should produce warning when messages are queued with blocky", async function () {
@@ -141,7 +141,7 @@ describe("context process exit", function () {
141141
socket1.receive()
142142
})
143143

144-
assert.equal(code, -1)
144+
assert.equal(code, 1)
145145
})
146146
})
147147
})

0 commit comments

Comments
 (0)