Skip to content

Commit 5793b62

Browse files
authored
Merge pull request #1113 from neon-bindings/kv/fix-nightly-test
fix(neon): Fix test on Rust nightly
2 parents 2335828 + 241385c commit 5793b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/napi/lib/boxed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe("boxed", function () {
5555
});
5656

5757
it("should dynamically check borrowing rules", function () {
58-
assert.throws(() => new RefPerson("World").fail(), /BorrowMutError/);
58+
assert.throws(() => new RefPerson("World").fail(), /already borrowed/);
5959
});
6060

6161
it("should type check externals", function () {

0 commit comments

Comments
 (0)