ソースを参照

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