Permalink
Browse files

fix specs to run with node 0.1.97

  • Loading branch information...
1 parent 3b30cec commit ac33f36ac6397817d150c532c7205658e26a718c @smtlaissezfaire smtlaissezfaire committed Jun 8, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/unit/commands/backtrace.js
@@ -42,7 +42,7 @@ describe("NodeDebugger", function() {
describe("outputting the backtrace", function() {
before_each(function() {
fs = require("fs");
- file = fs.readFileSync(__dirname + "/../../fixtures/backtrace_one.js");
+ file = fs.readFileSync(__dirname + "/../../fixtures/backtrace_one.js", "ascii");
json = JSON.parse(file);
});
@@ -51,7 +51,7 @@ describe("NodeDebugger", function() {
});
it("should output the stacktrace", function() {
- output = fs.readFileSync(__dirname + "/../../fixtures/backtrace_one_output.txt");
+ output = fs.readFileSync(__dirname + "/../../fixtures/backtrace_one_output.txt", "ascii");
spy.spyOn(node_debugger.Helpers, function() {
backtrace.output(json);

0 comments on commit ac33f36

Please sign in to comment.