Skip to content
Browse files

adjust for off by 1 differences

  • Loading branch information...
1 parent 1f596f7 commit 783dd612be49d5e35b2e6af2247150be0ad12436 @substack committed May 14, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 test/calls.js
View
10 test/calls.js
@@ -25,22 +25,22 @@ test('calls', function (t) {
t.deepEqual(
c.stack.map(function (s) { return s.start.line }),
- [ 1, 0, 4 ]
+ [ 2, 1, 5 ]
);
t.deepEqual(
c.stack.map(function (s) { return s.end.line }),
- [ 1, 0, 4 ]
+ [ 2, 1, 5 ]
);
t.deepEqual(
- c.stack.map(function (s) { return s.start.col }),
+ c.stack.map(function (s) { return s.start.column }),
[ 16, 16, 0 ]
);
t.deepEqual(
- c.stack.map(function (s) { return s.end.col }),
- [ 18, 18, 2 ]
+ c.stack.map(function (s) { return s.end.column }),
+ [ 19, 19, 3 ]
);
});

0 comments on commit 783dd61

Please sign in to comment.
Something went wrong with that request. Please try again.