Roman Reiss
647861befb
test: fix issues for space-in-parens ESLint rule
PR-URL: https://github.com/nodejs/node/pull/4753
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
9 years ago
Michaël Zasso
d1aabd6264
test: fix style issues after eslint update
Replace var keyword with const or let.
PR-URL: https://github.com/nodejs/io.js/pull/2286
Reviewed-By: Roman Reiss <me@silverwind.io>
9 years ago
Roman Reiss
f29762f4dd
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>
10 years ago
isaacs
3e1b1dd4a9
Remove excessive copyright/license boilerplate
The copyright and license notice is already in the LICENSE file. There
is no justifiable reason to also require that it be included in every
file, since the individual files are not individually distributed except
as part of the entire package.
10 years ago
Fedor Indutny
0e19476595
test: split test in parallel/sequential
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
PR-URL: https://github.com/iojs/io.js/pull/172
Fix : iojs/io.js#139
10 years ago
isaacs
5a0056703a
test: Fix simple/test-http-client-timeout-agent
Merge breakage.
12 years ago
isaacs
ea2ceb731c
test: Fix premature close in test-http-client-timeout-agent
12 years ago
Shigeki Ohtsu
a1ba29d110
test: fix failing due to too early timeout
12 years ago
Frédéric Germain
451ff1540a
http: Remove timeout handler when data arrives
12 years ago
Ben Noordhuis
ca642b020d
test: add http 'data after timeout' test
See #3234 . TDB if this is or is not the desired behavior.
13 years ago
Ben Noordhuis
e02af94947
test: add failing HTTP client timeout test
See #3231 .
13 years ago
Andreas Madsen
4865063924
Tests: fix jslint issues
13 years ago
Ben Noordhuis
359a65a6db
http: emit Error object after .abort()
It was emitting the net.Socket object due to misuse of the arguments object.
Fixes #1399 .
13 years ago
Ryan Dahl
850609ea2d
Remove separation of libuv tests
13 years ago
Ryan Dahl
4e1d6fca8e
Mark tests which are broken in libuv
14 years ago
koichik
8caf7fdb05
Add tests for #1085 and #1304
Fixes #1327 .
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Oleg Efimov
0665f0271e
GJSLint all simple tests exclude http-*, url, path
14 years ago
Oleg Efimov
0ce9cbab29
GJSLint continue
14 years ago
Ryan Dahl
a0159b4b29
Fix global leaks
14 years ago
Oleg Efimov
c0d69a4883
GJSLint part of tests
14 years ago
Ryan Dahl
17f3ffa633
Call Tick() after coming out of select()
Previously we would only call it before going into select(). This is needed
to fix test/simple/test-next-tick-ordering2.js.
15 years ago
Felix Geisendörfer
cf4b5fc52a
Test case showing a bug in nextTick ordering
nextTick should fire before setTimeout in this test, but it doesn't.
15 years ago