Browse Source

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>
process-exit-stdio-flushing
Rich Trott 9 years ago
parent
commit
082cc8d6d8
  1. 2
      test/internet/test-dns-txt-sigsegv.js
  2. 2
      test/internet/test-dns.js
  3. 2
      test/internet/test-http-dns-fail.js
  4. 2
      test/internet/test-net-connect-timeout.js
  5. 2
      test/internet/test-net-connect-unref.js
  6. 2
      test/message/2100bytes.js
  7. 2
      test/message/core_line_numbers.js
  8. 2
      test/message/error_exit.js
  9. 2
      test/message/eval_messages.js
  10. 2
      test/message/hello_world.js
  11. 2
      test/message/max_tick_depth.js
  12. 2
      test/message/nexttick_throw.js
  13. 2
      test/message/stack_overflow.js
  14. 2
      test/message/stdin_messages.js
  15. 2
      test/message/throw_custom_error.js
  16. 2
      test/message/throw_in_line_with_tabs.js
  17. 2
      test/message/throw_non_error.js
  18. 2
      test/message/throw_null.js
  19. 2
      test/message/throw_undefined.js
  20. 2
      test/message/timeout_throw.js
  21. 2
      test/message/undefined_reference_in_new_context.js
  22. 2
      test/message/vm_display_runtime_error.js
  23. 2
      test/message/vm_dont_display_syntax_error.js
  24. 2
      test/parallel/test-assert-typedarray-deepequal.js
  25. 2
      test/parallel/test-async-wrap-throw-no-init.js
  26. 2
      test/parallel/test-buffer-arraybuffer.js
  27. 2
      test/parallel/test-buffer-ascii.js
  28. 2
      test/parallel/test-buffer-bytelength.js
  29. 2
      test/parallel/test-buffer-concat.js
  30. 2
      test/parallel/test-buffer-fakes.js
  31. 2
      test/parallel/test-buffer-includes.js
  32. 2
      test/parallel/test-buffer-indexof.js
  33. 2
      test/parallel/test-buffer-inheritance.js
  34. 2
      test/parallel/test-buffer-inspect.js
  35. 2
      test/parallel/test-buffer-iterator.js
  36. 2
      test/parallel/test-buffer-slow.js
  37. 2
      test/parallel/test-child-process-constructor.js
  38. 2
      test/parallel/test-child-process-detached.js
  39. 2
      test/parallel/test-child-process-fork-and-spawn.js
  40. 2
      test/parallel/test-child-process-fork-ref.js
  41. 2
      test/parallel/test-child-process-fork-ref2.js
  42. 2
      test/parallel/test-child-process-internal.js
  43. 2
      test/parallel/test-child-process-set-blocking.js
  44. 2
      test/parallel/test-child-process-silent.js
  45. 2
      test/parallel/test-child-process-spawnsync-env.js
  46. 2
      test/parallel/test-child-process-spawnsync-timeout.js
  47. 2
      test/parallel/test-child-process-stdin-ipc.js
  48. 2
      test/parallel/test-child-process-stdio-big-write-end.js
  49. 2
      test/parallel/test-child-process-validate-stdio.js
  50. 2
      test/parallel/test-cluster-debug-port.js
  51. 2
      test/parallel/test-cluster-fork-env.js
  52. 2
      test/parallel/test-cluster-setup-master-cumulative.js
  53. 2
      test/parallel/test-cluster-setup-master-emit.js
  54. 2
      test/parallel/test-cluster-setup-master-multiple.js
  55. 2
      test/parallel/test-cluster-setup-master.js
  56. 2
      test/parallel/test-cluster-uncaught-exception.js
  57. 2
      test/parallel/test-cluster-worker-constructor.js
  58. 2
      test/parallel/test-cluster-worker-death.js
  59. 2
      test/parallel/test-cluster-worker-init.js
  60. 2
      test/parallel/test-console-instance.js
  61. 2
      test/parallel/test-console-not-call-toString.js
  62. 2
      test/parallel/test-console.js
  63. 2
      test/parallel/test-delayed-require.js
  64. 2
      test/parallel/test-dgram-bind.js
  65. 2
      test/parallel/test-dgram-bytes-length.js
  66. 2
      test/parallel/test-dgram-listen-after-bind.js
  67. 2
      test/parallel/test-dgram-ref.js
  68. 2
      test/parallel/test-dgram-regress-4496.js
  69. 2
      test/parallel/test-dgram-send-bad-arguments.js
  70. 2
      test/parallel/test-dgram-unref.js
  71. 2
      test/parallel/test-dh-padding.js
  72. 2
      test/parallel/test-dns-cares-domains.js
  73. 2
      test/parallel/test-dns-lookup-cb-error.js
  74. 2
      test/parallel/test-dns-regress-7070.js
  75. 2
      test/parallel/test-dns.js
  76. 2
      test/parallel/test-domain-exit-dispose.js
  77. 2
      test/parallel/test-domain-from-timer.js
  78. 2
      test/parallel/test-domain-implicit-fs.js
  79. 2
      test/parallel/test-domain-nested-throw.js
  80. 2
      test/parallel/test-domain-stack.js
  81. 2
      test/parallel/test-domain-timers.js
  82. 2
      test/parallel/test-domain-top-level-error-handler-throw.js
  83. 2
      test/parallel/test-domain.js
  84. 2
      test/parallel/test-event-emitter-add-listeners.js
  85. 2
      test/parallel/test-event-emitter-check-listener-leaks.js
  86. 2
      test/parallel/test-event-emitter-get-max-listeners.js
  87. 2
      test/parallel/test-event-emitter-listener-count.js
  88. 2
      test/parallel/test-event-emitter-listeners-side-effects.js
  89. 2
      test/parallel/test-event-emitter-listeners.js
  90. 2
      test/parallel/test-event-emitter-max-listeners.js
  91. 2
      test/parallel/test-event-emitter-method-names.js
  92. 2
      test/parallel/test-event-emitter-modify-in-emit.js
  93. 2
      test/parallel/test-event-emitter-no-error-provided-to-error-event.js
  94. 2
      test/parallel/test-event-emitter-num-args.js
  95. 2
      test/parallel/test-event-emitter-once.js
  96. 2
      test/parallel/test-event-emitter-set-max-listeners-side-effects.js
  97. 2
      test/parallel/test-event-emitter-subclass.js
  98. 2
      test/parallel/test-exception-handler.js
  99. 2
      test/parallel/test-exception-handler2.js
  100. 2
      test/parallel/test-exec-max-buffer.js

2
test/internet/test-dns-txt-sigsegv.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var dns = require('dns');

2
test/internet/test-dns.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert'),
dns = require('dns'),
net = require('net'),

2
test/internet/test-http-dns-fail.js

@ -4,7 +4,7 @@
* should trigger the error event after each attempt.
*/
var common = require('../common');
require('../common');
var assert = require('assert');
var http = require('http');

2
test/internet/test-net-connect-timeout.js

@ -3,7 +3,7 @@
// https://groups.google.com/forum/#!topic/nodejs/UE0ZbfLt6t8
// https://groups.google.com/forum/#!topic/nodejs-dev/jR7-5UDqXkw
var common = require('../common');
require('../common');
var net = require('net');
var assert = require('assert');

2
test/internet/test-net-connect-unref.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var net = require('net');

2
test/message/2100bytes.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var util = require('util');

2
test/message/core_line_numbers.js

@ -1,5 +1,5 @@
'use strict';
const common = require('../common');
require('../common');
const punycode = require('punycode');
// This test verifies that line numbers in core modules are reported correctly.

2
test/message/error_exit.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
process.on('exit', function(code) {

2
test/message/eval_messages.js

@ -1,6 +1,6 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var spawn = require('child_process').spawn;

2
test/message/hello_world.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
console.log('hello world');

2
test/message/max_tick_depth.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
process.maxTickDepth = 10;
var i = 20;

2
test/message/nexttick_throw.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
process.nextTick(function() {

2
test/message/stack_overflow.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
Error.stackTraceLimit = 0;

2
test/message/stdin_messages.js

@ -1,6 +1,6 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var spawn = require('child_process').spawn;

2
test/message/throw_custom_error.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
// custom error throwing

2
test/message/throw_in_line_with_tabs.js

@ -1,6 +1,6 @@
/* eslint-disable indent */
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
console.error('before');

2
test/message/throw_non_error.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
// custom error throwing

2
test/message/throw_null.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
throw null;

2
test/message/throw_undefined.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
throw undefined;

2
test/message/timeout_throw.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
setTimeout(function() {

2
test/message/undefined_reference_in_new_context.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var vm = require('vm');

2
test/message/vm_display_runtime_error.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var vm = require('vm');

2
test/message/vm_dont_display_syntax_error.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var vm = require('vm');

2
test/parallel/test-assert-typedarray-deepequal.js

@ -1,6 +1,6 @@
'use strict';
const common = require('../common');
require('../common');
const assert = require('assert');
const a = require('assert');

2
test/parallel/test-async-wrap-throw-no-init.js

@ -1,6 +1,6 @@
'use strict';
const common = require('../common');
require('../common');
const assert = require('assert');
const async_wrap = process.binding('async_wrap');

2
test/parallel/test-buffer-arraybuffer.js

@ -1,6 +1,6 @@
'use strict';
const common = require('../common');
require('../common');
const assert = require('assert');
const Buffer = require('buffer').Buffer;

2
test/parallel/test-buffer-ascii.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
// ASCII conversion in node.js simply masks off the high bits,

2
test/parallel/test-buffer-bytelength.js

@ -1,6 +1,6 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var Buffer = require('buffer').Buffer;

2
test/parallel/test-buffer-concat.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var zero = [];

2
test/parallel/test-buffer-fakes.js

@ -1,6 +1,6 @@
'use strict';
const common = require('../common');
require('../common');
const assert = require('assert');
const Buffer = require('buffer').Buffer;
const Bp = Buffer.prototype;

2
test/parallel/test-buffer-includes.js

@ -1,5 +1,5 @@
'use strict';
const common = require('../common');
require('../common');
const assert = require('assert');
const Buffer = require('buffer').Buffer;

2
test/parallel/test-buffer-indexof.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var Buffer = require('buffer').Buffer;

2
test/parallel/test-buffer-inheritance.js

@ -1,6 +1,6 @@
'use strict';
const common = require('../common');
require('../common');
const assert = require('assert');

2
test/parallel/test-buffer-inspect.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var util = require('util');

2
test/parallel/test-buffer-iterator.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var buffer = new Buffer([1, 2, 3, 4, 5]);

2
test/parallel/test-buffer-slow.js

@ -1,6 +1,6 @@
'use strict';
const common = require('../common');
require('../common');
const assert = require('assert');
const buffer = require('buffer');
const Buffer = buffer.Buffer;

2
test/parallel/test-child-process-constructor.js

@ -1,7 +1,7 @@
'use strict';
require('../common');
var assert = require('assert');
var common = require('../common');
var child_process = require('child_process');
var ChildProcess = child_process.ChildProcess;
assert.equal(typeof ChildProcess, 'function');

2
test/parallel/test-child-process-detached.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var path = require('path');

2
test/parallel/test-child-process-fork-and-spawn.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var spawn = require('child_process').spawn;
var fork = require('child_process').fork;

2
test/parallel/test-child-process-fork-ref.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var fork = require('child_process').fork;

2
test/parallel/test-child-process-fork-ref2.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var fork = require('child_process').fork;

2
test/parallel/test-child-process-internal.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
//messages

2
test/parallel/test-child-process-set-blocking.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var ch = require('child_process');

2
test/parallel/test-child-process-silent.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var childProcess = require('child_process');

2
test/parallel/test-child-process-spawnsync-env.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var cp = require('child_process');

2
test/parallel/test-child-process-spawnsync-timeout.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var spawnSync = require('child_process').spawnSync;

2
test/parallel/test-child-process-stdin-ipc.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var spawn = require('child_process').spawn;

2
test/parallel/test-child-process-stdio-big-write-end.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var BUFSIZE = 1024;

2
test/parallel/test-child-process-validate-stdio.js

@ -1,8 +1,8 @@
'use strict';
// Flags: --expose_internals
require('../common');
var assert = require('assert');
var common = require('../common');
var _validateStdio = require('internal/child_process')._validateStdio;
// should throw if string and not ignore, pipe, or inherit

2
test/parallel/test-cluster-debug-port.js

@ -1,5 +1,5 @@
'use strict';
const common = require('../common');
require('../common');
const assert = require('assert');
const cluster = require('cluster');

2
test/parallel/test-cluster-fork-env.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var cluster = require('cluster');

2
test/parallel/test-cluster-setup-master-cumulative.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var cluster = require('cluster');

2
test/parallel/test-cluster-setup-master-emit.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var cluster = require('cluster');

2
test/parallel/test-cluster-setup-master-multiple.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var cluster = require('cluster');

2
test/parallel/test-cluster-setup-master.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var cluster = require('cluster');

2
test/parallel/test-cluster-uncaught-exception.js

@ -3,7 +3,7 @@
// one that the cluster module installs.
// https://github.com/joyent/node/issues/2556
var common = require('../common');
require('../common');
var assert = require('assert');
var cluster = require('cluster');
var fork = require('child_process').fork;

2
test/parallel/test-cluster-worker-constructor.js

@ -2,7 +2,7 @@
// test-cluster-worker-constructor.js
// validates correct behavior of the cluster.Worker constructor
var common = require('../common');
require('../common');
var assert = require('assert');
var cluster = require('cluster');
var worker;

2
test/parallel/test-cluster-worker-death.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var cluster = require('cluster');

2
test/parallel/test-cluster-worker-init.js

@ -3,7 +3,7 @@
// verifies that, when a child process is forked, the cluster.worker
// object can receive messages as expected
var common = require('../common');
require('../common');
var assert = require('assert');
var cluster = require('cluster');
var msg = 'foo';

2
test/parallel/test-console-instance.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var Stream = require('stream');
var Console = require('console').Console;

2
test/parallel/test-console-not-call-toString.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var func = function() {};

2
test/parallel/test-console.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
assert.ok(process.stdout.writable);

2
test/parallel/test-delayed-require.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var a;

2
test/parallel/test-dgram-bind.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var dgram = require('dgram');

2
test/parallel/test-dgram-bytes-length.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var dgram = require('dgram');

2
test/parallel/test-dgram-listen-after-bind.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var dgram = require('dgram');

2
test/parallel/test-dgram-ref.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var dgram = require('dgram');
// should not hang, see #1282

2
test/parallel/test-dgram-regress-4496.js

@ -1,7 +1,7 @@
'use strict';
// Remove this test once we support sending strings.
var common = require('../common');
require('../common');
var assert = require('assert');
var dgram = require('dgram');

2
test/parallel/test-dgram-send-bad-arguments.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var dgram = require('dgram');

2
test/parallel/test-dgram-unref.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var dgram = require('dgram');

2
test/parallel/test-dh-padding.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
try {

2
test/parallel/test-dns-cares-domains.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var dns = require('dns');
var domain = require('domain');

2
test/parallel/test-dns-lookup-cb-error.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var cares = process.binding('cares_wrap');

2
test/parallel/test-dns-regress-7070.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var dns = require('dns');

2
test/parallel/test-dns.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var dns = require('dns');

2
test/parallel/test-domain-exit-dispose.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var domain = require('domain');
var disposalFailed = false;

2
test/parallel/test-domain-from-timer.js

@ -1,7 +1,7 @@
'use strict';
// Simple tests of most basic domain functionality.
var common = require('../common');
require('../common');
var assert = require('assert');
// timeouts call the callback directly from cc, so need to make sure the

2
test/parallel/test-domain-implicit-fs.js

@ -1,7 +1,7 @@
'use strict';
// Simple tests of most basic domain functionality.
var common = require('../common');
require('../common');
var assert = require('assert');
var domain = require('domain');
var events = require('events');

2
test/parallel/test-domain-nested-throw.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var domain = require('domain');

2
test/parallel/test-domain-stack.js

@ -1,7 +1,7 @@
'use strict';
// Make sure that the domain stack doesn't get out of hand.
var common = require('../common');
require('../common');
var assert = require('assert');
var domain = require('domain');
var events = require('events');

2
test/parallel/test-domain-timers.js

@ -1,7 +1,7 @@
'use strict';
require('../common');
var domain = require('domain');
var assert = require('assert');
var common = require('../common');
var timeout_err, timeout, immediate_err;

2
test/parallel/test-domain-top-level-error-handler-throw.js

@ -7,7 +7,7 @@
* top-level error handler, not the one from the previous error.
*/
const common = require('../common');
require('../common');
const domainErrHandlerExMessage = 'exception from domain error handler';
const internalExMessage = 'You should NOT see me';

2
test/parallel/test-domain.js

@ -1,7 +1,7 @@
'use strict';
// Simple tests of most basic domain functionality.
var common = require('../common');
require('../common');
var assert = require('assert');
var domain = require('domain');
var events = require('events');

2
test/parallel/test-event-emitter-add-listeners.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var events = require('events');

2
test/parallel/test-event-emitter-check-listener-leaks.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var events = require('events');

2
test/parallel/test-event-emitter-get-max-listeners.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var EventEmitter = require('events');

2
test/parallel/test-event-emitter-listener-count.js

@ -1,6 +1,6 @@
'use strict';
const common = require('../common');
require('../common');
const assert = require('assert');
const EventEmitter = require('events');

2
test/parallel/test-event-emitter-listeners-side-effects.js

@ -1,6 +1,6 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var events = require('events');

2
test/parallel/test-event-emitter-listeners.js

@ -1,6 +1,6 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var events = require('events');

2
test/parallel/test-event-emitter-max-listeners.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var events = require('events');

2
test/parallel/test-event-emitter-method-names.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var events = require('events');

2
test/parallel/test-event-emitter-modify-in-emit.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var events = require('events');

2
test/parallel/test-event-emitter-no-error-provided-to-error-event.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var events = require('events');
var domain = require('domain');

2
test/parallel/test-event-emitter-num-args.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var events = require('events');

2
test/parallel/test-event-emitter-once.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var events = require('events');

2
test/parallel/test-event-emitter-set-max-listeners-side-effects.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var events = require('events');

2
test/parallel/test-event-emitter-subclass.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var EventEmitter = require('events').EventEmitter;
var util = require('util');

2
test/parallel/test-exception-handler.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
var MESSAGE = 'catch me if you can';

2
test/parallel/test-exception-handler2.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var assert = require('assert');
process.on('uncaughtException', function(err) {

2
test/parallel/test-exec-max-buffer.js

@ -1,5 +1,5 @@
'use strict';
var common = require('../common');
require('../common');
var exec = require('child_process').exec;
var assert = require('assert');

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save