Browse files

added some specs to strengthen the coverage jasmine/jasmine#234

  • Loading branch information...
1 parent b95c43a commit 63ad879c12e7462a25e2f0680a9e6756c205be28 @yopefonic yopefonic committed with Davis W. Frank & Rajan Agaskar Jun 5, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 spec/core/MatchersSpec.js
View
2 spec/core/MatchersSpec.js
@@ -78,6 +78,8 @@ describe("jasmine.Matchers", function() {
expect((match(/1/i).toEqual(/1/i))).toPass();
expect((match(/1/i).toNotEqual(/1/i))).toFail();
+ expect((match(/[abc]/gm).toEqual(/1/i))).toFail();
+ expect((match(/[abc]/gm).toNotEqual(/1/i))).toPass();
});
it("toEqual to build an Expectation Result", function() {

0 comments on commit 63ad879

Please sign in to comment.