Skip to content

Commit

Permalink
Remove colons from onStart and Test case messages
Browse files Browse the repository at this point in the history
Colons should be handled in the UI, not in the library.
  • Loading branch information
valueof committed May 14, 2012
1 parent 764055f commit d587a19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Test.prototype = {
});

if (err !== null)
return void self.fail({ source: "onStart:", message: err });
return void self.fail({ source: "onStart", message: err });

// If there is no context, create an Asserts module and add it to the
// test.
Expand All @@ -47,7 +47,7 @@ Test.prototype = {
});

if (err !== null)
return void self.fail({ source: "Test case:", message: err });
return void self.fail({ source: "Test case", message: err });

// If test status is DONE it means that an assertion failed and
// finished the test prematurely.
Expand Down

0 comments on commit d587a19

Please sign in to comment.