diff --git a/modules/angular2/src/facade/lang.ts b/modules/angular2/src/facade/lang.ts index 8a304828c1..168ff4cc15 100644 --- a/modules/angular2/src/facade/lang.ts +++ b/modules/angular2/src/facade/lang.ts @@ -11,7 +11,7 @@ export class BaseException extends Error { constructor(message?: string) { super(message); this.message = message; - this.stack = (new Error()).stack; + this.stack = (new Error(message)).stack; } toString(): string { return this.message; } diff --git a/modules/angular2/test/change_detection/parser/parser_spec.ts b/modules/angular2/test/change_detection/parser/parser_spec.ts index 048e15370b..dd3f640a83 100644 --- a/modules/angular2/test/change_detection/parser/parser_spec.ts +++ b/modules/angular2/test/change_detection/parser/parser_spec.ts @@ -471,7 +471,7 @@ export function main() { expect(bindings).toEqual([]); }); - it('should parse a string without a value', () => { + iit('should parse a string without a value', () => { var bindings = parseTemplateBindings('a'); expect(keys(bindings)).toEqual(['a']); });