Take back the surface the compiler cannot guard
Mirror / push (push) Has been cancelled
Test / lint (pull_request) Successful in 21s
Test / test (18) (pull_request) Successful in 29s
Test / test (20) (pull_request) Successful in 29s
Test / test (22) (pull_request) Successful in 31s
Test / test (24) (pull_request) Successful in 29s
Test / test (26) (pull_request) Successful in 31s
Mirror / push (push) Has been cancelled
Test / lint (pull_request) Successful in 21s
Test / test (18) (pull_request) Successful in 29s
Test / test (20) (pull_request) Successful in 29s
Test / test (22) (pull_request) Successful in 31s
Test / test (24) (pull_request) Successful in 29s
Test / test (26) (pull_request) Successful in 31s
This commit is contained in:
@@ -42,7 +42,6 @@ describe('integers', () => {
|
||||
|
||||
const notANumber = types.int8.write(NaN, Buffer.alloc(1), 0);
|
||||
|
||||
// JSON spells NaN and the infinities `null`, which is a value the caller never wrote.
|
||||
assert.ok(notANumber.err instanceof Error);
|
||||
assert.match(notANumber.err.message, /NaN/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user