mirror of https://github.com/tc39/test262.git
Merge pull request #3985 from rmahdav/fix-differnce-test-2
Fix an error in expected value of difference set method
This commit is contained in:
commit
c2aaae4cc3
|
@ -30,7 +30,7 @@ class MySet extends Set {
|
|||
|
||||
const s1 = new MySet([1, 2]);
|
||||
const s2 = new Set([2, 3]);
|
||||
const expected = [2];
|
||||
const expected = [1];
|
||||
const combined = s1.difference(s2);
|
||||
|
||||
assert.compareArray([...combined], expected);
|
||||
|
|
Loading…
Reference in New Issue