From 785f62c7a06767df1124e7b6877637ec5c234fe3 Mon Sep 17 00:00:00 2001 From: Gregg Van Hove Date: Thu, 15 Feb 2018 17:43:03 -0800 Subject: [PATCH] Fix naming and check functions for empty/notEmpty specs --- spec/core/asymmetric_equality/EmptySpec.js | 2 +- spec/core/asymmetric_equality/NotEmptySpec.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/core/asymmetric_equality/EmptySpec.js b/spec/core/asymmetric_equality/EmptySpec.js index 2946057b..902b5001 100644 --- a/spec/core/asymmetric_equality/EmptySpec.js +++ b/spec/core/asymmetric_equality/EmptySpec.js @@ -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(); diff --git a/spec/core/asymmetric_equality/NotEmptySpec.js b/spec/core/asymmetric_equality/NotEmptySpec.js index 85bdce6c..04c05966 100644 --- a/spec/core/asymmetric_equality/NotEmptySpec.js +++ b/spec/core/asymmetric_equality/NotEmptySpec.js @@ -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();