浏览代码

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);
     });
   });