Browse Source

js/test: typo

pull/663/head
Clement Denis 4 years ago
parent
commit
e1763bf1e3
  1. 2
      js/tests/test.mjs

2
js/tests/test.mjs

@ -27,7 +27,7 @@ const eq = (a, b) => {
const noSplit = !''.split const noSplit = !''.split
const noJoin = ![].join const noJoin = ![].join
String.prototype.split = split String.prototype.split = split
String.prototype.split = join Array.prototype.join = join
deepStrictEqual(a, b) deepStrictEqual(a, b)
noSplit && (String.prototype.split = undefined) noSplit && (String.prototype.split = undefined)
noJoin && (Array.prototype.join = undefined) noJoin && (Array.prototype.join = undefined)

Loading…
Cancel
Save