Преглед на файлове

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

Hadrien Croubois преди 8 месеца
родител
ревизия
332bcb5f4d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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);
     });
   });