Fix require() in test-buffer.js

pull/22966/head
Ryan Dahl 2010-01-27 18:45:07 -08:00
parent b93b09a877
commit 4347906b7f
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
sys = require("sys"); process.mixin(require("./common"));
assert = require("assert"); assert = require("assert");
var b = new process.Buffer(1024); var b = new process.Buffer(1024);
sys.puts("b.length == " + b.length); puts("b.length == " + b.length);
assert.equal(1024, b.length); assert.equal(1024, b.length);
for (var i = 0; i < 1024; i++) { for (var i = 0; i < 1024; i++) {