Skip to content

Commit

Permalink
test: fix event-emitter-get-max-listeners style
Browse files Browse the repository at this point in the history
Add missing commas in parallel/test-event-emitter-get-max-listeners.

Comma-less style is fine and dandy but it throws off vim's autoindent.

PR-URL: #527
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
bnoordhuis committed Jan 20, 2015
1 parent 767ee73 commit 77d6807
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/parallel/test-event-emitter-get-max-listeners.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ var emitter = new EventEmitter();

assert.strictEqual(emitter.getMaxListeners(), EventEmitter.defaultMaxListeners);

emitter.setMaxListeners(0)
assert.strictEqual(emitter.getMaxListeners(), 0)
emitter.setMaxListeners(0);
assert.strictEqual(emitter.getMaxListeners(), 0);

emitter.setMaxListeners(3)
assert.strictEqual(emitter.getMaxListeners(), 3)
emitter.setMaxListeners(3);
assert.strictEqual(emitter.getMaxListeners(), 3);

0 comments on commit 77d6807

Please sign in to comment.