Skip to content

Commit

Permalink
Update lib/assertions/is-weak-map.test.js
Browse files Browse the repository at this point in the history
Co-Authored-By: Maximilian Antoni <mail@maxantoni.de>
  • Loading branch information
mroderick and mantoni committed Oct 2, 2020
1 parent 53bdcbb commit 6547c43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/assertions/is-weak-map.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe("isWeakMap factory", function() {
context("when called with a non-WeakMap instance", function() {
it("retunrns false", function() {
var t = this;
var nonWeakSetValues = [
var nonWeakMapValues = [
[],
{},
Set,
Expand All @@ -54,7 +54,7 @@ describe("isWeakMap factory", function() {
new Map()
];

nonWeakSetValues.forEach(function(value) {
nonWeakMapValues.forEach(function(value) {
assert.equal(t.options.assert(value), false);
});
});
Expand Down

0 comments on commit 6547c43

Please sign in to comment.