Skip to content

Commit a94646b

Browse files
committed
Fixed tests
1 parent c155969 commit a94646b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

spec/stackframe-spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ describe('StackFrame', function() {
158158
});
159159

160160
describe('#toString', function() {
161-
it('represents empty StackFrame as "{anonymous}()"', function() {
162-
expect(new StackFrame().toString()).toEqual('{anonymous}()');
161+
it('represents empty StackFrame as "::"', function() {
162+
expect(new StackFrame().toString()).toEqual('::');
163163
});
164164
it('represents complete StackFrame same as old stacktrace.js', function() {
165165
var unit = new StackFrame({
@@ -172,7 +172,7 @@ describe('StackFrame', function() {
172172
isNative: false,
173173
source: 'SOURCE'
174174
});
175-
expect(unit.toString()).toEqual('fun(arg1,arg2)@http://site.com/path.js:1:4567');
175+
expect(unit.toString()).toEqual('fun (http://site.com/path.js:1:4567)');
176176
});
177177
});
178178
});

0 commit comments

Comments
 (0)