Format according to style.
This commit is contained in:
@@ -40,8 +40,8 @@ describe("ExceptionFormatter", function() {
|
|||||||
it('formats thrown exceptions with message but no name', function() {
|
it('formats thrown exceptions with message but no name', function() {
|
||||||
var unnamedError = {message: 'This is an unnamed error message.'};
|
var unnamedError = {message: 'This is an unnamed error message.'};
|
||||||
|
|
||||||
exceptionFormatter = new jasmineUnderTest.ExceptionFormatter(),
|
var exceptionFormatter = new jasmineUnderTest.ExceptionFormatter(),
|
||||||
message = exceptionFormatter.message(unnamedError);
|
message = exceptionFormatter.message(unnamedError);
|
||||||
|
|
||||||
expect(message).toEqual('This is an unnamed error message.');
|
expect(message).toEqual('This is an unnamed error message.');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user