Fix naming and check functions for empty/notEmpty specs
This commit is contained in:
@@ -31,7 +31,7 @@ describe("Empty", function () {
|
||||
expect(empty.asymmetricMatch(fullMap)).toBe(false);
|
||||
});
|
||||
|
||||
it("matches an empty map", function () {
|
||||
it("matches an empty set", function () {
|
||||
jasmine.getEnv().requireFunctioningSets();
|
||||
var empty = new jasmineUnderTest.Empty();
|
||||
var fullSet = new Set();
|
||||
|
||||
@@ -33,7 +33,7 @@ describe("NotEmpty", function () {
|
||||
});
|
||||
|
||||
it("matches a non empty set", function () {
|
||||
jasmine.getEnv().requireFunctioningMaps();
|
||||
jasmine.getEnv().requireFunctioningSets();
|
||||
var notEmpty = new jasmineUnderTest.NotEmpty();
|
||||
var filledSet = new Set();
|
||||
filledSet.add(1);
|
||||
@@ -43,7 +43,7 @@ describe("NotEmpty", function () {
|
||||
expect(notEmpty.asymmetricMatch(emptySet)).toBe(false);
|
||||
});
|
||||
|
||||
it("matches an empty typed array", function() {
|
||||
it("matches a non empty typed array", function() {
|
||||
jasmine.getEnv().requireFunctioningTypedArrays();
|
||||
var notEmpty = new jasmineUnderTest.NotEmpty();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user