Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix specs to run with node 0.1.97

  • Loading branch information...
commit ac33f36ac6397817d150c532c7205658e26a718c 1 parent 3b30cec
@smtlaissezfaire smtlaissezfaire authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/unit/commands/backtrace.js
View
4 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);
Please sign in to comment.
Something went wrong with that request. Please try again.