Bläddra i källkod

Refactor EnumerableSet.behavior.js for reuse in the community repo (#5441)

Hadrien Croubois 8 månader sedan
förälder
incheckning
332bcb5f4d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      test/utils/structs/EnumerableSet.behavior.js

+ 1 - 1
test/utils/structs/EnumerableSet.behavior.js

@@ -47,7 +47,7 @@ function shouldBehaveLikeSet() {
 
     it('retrieves existing element', async function () {
       await this.methods.add(this.valueA);
-      expect(await this.methods.at(0)).to.equal(this.valueA);
+      expect(await this.methods.at(0)).to.deep.equal(this.valueA);
     });
   });