summaryrefslogtreecommitdiff
path: root/test/fixtures/print-chars-from-buffer.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/print-chars-from-buffer.js')
-rw-r--r--test/fixtures/print-chars-from-buffer.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/fixtures/print-chars-from-buffer.js b/test/fixtures/print-chars-from-buffer.js
index d8c2870387..9409c1dd89 100644
--- a/test/fixtures/print-chars-from-buffer.js
+++ b/test/fixtures/print-chars-from-buffer.js
@@ -1,10 +1,12 @@
-common = require("../common");
-assert = common.assert
-Buffer = require("buffer").Buffer;
+common = require('../common');
+assert = common.assert;
+Buffer = require('buffer').Buffer;
var n = parseInt(process.argv[2]);
b = new Buffer(n);
-for (var i = 0; i < n; i++) { b[i] = 100; }
+for (var i = 0; i < n; i++) {
+ b[i] = 100;
+}
process.stdout.write(b);