0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/sequential
Tristian Flanagan dfee4e3712 module: fix column offsets in errors
Because Node modules are wrapped, errors on the first line
of a file leak the wrapper to the user and report the wrong
column number. This commit adds a line break to the module
wrapper so that the first line is treated the same as all
other lines. To compensate for the additional line, a line
offset of -1 is also applied to errors.

Fixes: https://github.com/nodejs/node/issues/2860
PR-URL: https://github.com/nodejs/node/pull/2867
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2015-11-20 16:26:24 -05:00
..
sequential.status test: refactor test-http-pipeline-flood 2015-11-13 05:16:21 -08:00
test-child-process-emfile.js test: fix flaky test-child-process-emfile 2015-10-20 15:41:37 -07:00
test-child-process-execsync.js test: replace util with backtick strings 2015-10-14 10:02:47 -07:00
test-child-process-fork-getconnections.js lib,test: update let to const where applicable 2015-10-27 23:03:33 +05:30
test-cluster-listening-port.js test: wrap assert.fail when passed to callback 2015-10-24 14:42:41 -07:00
test-debug-args.js test: fix tests after V8 upgrade 2015-10-14 11:20:35 -07:00
test-deprecation-flags.js lib: add 'pid' prefix in internal/util 2015-11-20 09:24:53 -08:00
test-force-repl.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-fs-watch.js test: split independent tests into separate files 2015-10-28 12:24:13 -07:00
test-init.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-memory-usage-emfile.js test: remove common.inspect() 2015-10-08 22:35:24 -07:00
test-module-loading.js module: fix column offsets in errors 2015-11-20 16:26:24 -05:00
test-net-GH-5504.js test: fix losing original env vars issue 2015-10-08 07:51:46 -07:00
test-net-listen-exclusive-random-ports.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-net-localport.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-net-server-address.js test: skip IPv6 part before testing it 2015-07-27 23:24:03 +05:30
test-net-server-bind.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-next-tick-error-spin.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-pipe-address.js test: refresh temp directory when using pipe 2015-10-08 20:05:22 -07:00
test-pipe-head.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-pipe-stream.js test: refresh temp directory when using pipe 2015-10-08 20:05:22 -07:00
test-pipe-unref.js test: refresh temp directory when using pipe 2015-10-08 20:05:22 -07:00
test-pipe.js lib,test: fix whitespace issues 2015-06-15 16:37:37 +02:00
test-regress-GH-746.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-regress-GH-784.js lib,test: fix whitespace issues 2015-06-15 16:37:37 +02:00
test-regress-GH-819.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-regress-GH-877.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-regress-GH-1531.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-regress-GH-1697.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-regress-GH-1726.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-regress-GH-1899.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-regress-GH-3542.js test: fix messages and use return to skip tests 2015-08-03 21:32:48 +05:30
test-regress-GH-4015.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-regress-GH-4027.js test: only refresh tmpDir for tests that need it 2015-06-13 22:27:17 -07:00
test-regress-GH-4948.js lib,test: fix whitespace issues 2015-06-15 16:37:37 +02:00
test-repl-persistent-history.js repl: don't crash if cannot open history file 2015-11-03 09:52:35 -06:00
test-require-cache-without-stat.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-setproctitle.js test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
test-sigint-infinite-loop.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-socket-write-after-fin-error.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-socket-write-after-fin.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-stdin-child-proc.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-stdin-from-file.js test: correct spelling of 'childProcess' 2015-08-17 20:55:19 +02:00
test-stdin-pipe-resume.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-stdin-script-child.js test: fix losing original env vars issue 2015-10-08 07:51:46 -07:00
test-stdout-cannot-be-closed-child-process-pipe.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-stdout-close-catch.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-stdout-stderr-reading.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-stdout-to-file.js test: change calls to deprecated util.print() 2015-09-28 13:21:15 -07:00
test-stream2-fs.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-stream2-httpclient-response-end.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-stream2-stderr-sync.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-sync-fileread.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-tcp-wrap-connect.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-tcp-wrap-listen.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-tls-honorcipherorder.js test: skip/replace weak crypto tests in FIPS mode 2015-11-19 16:31:11 -05:00
test-util-debug.js test: fix losing original env vars issue 2015-10-08 07:51:46 -07:00
test-vm-syntax-error-stderr.js node: do not override message/stack of error 2015-08-04 11:56:16 -07:00
test-vm-timeout-rethrow.js test: load common.js to test for global leaks 2015-10-01 20:16:35 -07:00
test-zerolengthbufferbug.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
testcfg.py