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

This commit is contained in:
Joost Elfering
2012-06-05 20:58:42 +02:00
committed by Davis W. Frank & Rajan Agaskar
parent b95c43ab7c
commit 63ad879c12

View File

@@ -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() {