This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
nodejs
Watch
0
Star
0
Fork
0
You've already forked nodejs
mirror of
https://github.com/nodejs/node.git
synced
2024-12-01 16:10:02 +01:00
Code
Issues
Releases
Activity
ff1efa6087
nodejs
/
test
/
message
/
throw_null.js
5 lines
49 B
JavaScript
Raw
Normal View
History
Unescape
Escape
test: enable linting for tests Enable linting for the test directory. A number of changes was made so all tests conform the current rules used by lib and src directories. The only exception for tests is that unreachable (dead) code is allowed. test-fs-non-number-arguments-throw had to be excluded from the changes because of a weird issue on Windows CI. PR-URL: https://github.com/nodejs/io.js/pull/1721 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-05-19 13:00:06 +02:00
'use strict'
;
test: remove unnecessary assignments common.js needs to be loaded in all tests so that there is checking for variable leaks and possibly other things. However, it does not need to be assigned to a variable if nothing in common.js is referred to elsewhere in the test. PR-URL: https://github.com/nodejs/node/pull/4408 Reviewed-By: James M Snell <jasnell@gmail.com>
2015-12-24 01:02:12 +01:00
require
(
'../common'
)
;
src: only access stack of non-null errors Avoid segmentation fault when `null` is thrown
2013-12-23 07:18:08 +01:00
throw
null
;
Copy Permalink