Fix naming and check functions for empty/notEmpty specs

This commit is contained in:
Gregg Van Hove
2018-02-15 17:43:03 -08:00
parent d8c154a2c6
commit 785f62c7a0
2 changed files with 3 additions and 3 deletions

View File

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

View File

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