diff --git a/test/index.js b/test/index.js index a21479bd86..9ec87beef8 100644 --- a/test/index.js +++ b/test/index.js @@ -65,7 +65,7 @@ test('logos path names should not contain space', function (t) { t.end() }) -test('symbols should be six or less characters', function (t) { +test('symbols should be eleven or less characters', function (t) { Object.keys(contractMap).forEach(address => { const contract = contractMap[address] const symbol = contract.symbol @@ -88,21 +88,3 @@ test('only permitted fields should be used', function (t) { t.end() }) - -test('symbols should not overlap', function (t) { - const symbols = Object.values(contractMap).map(contract => contract.symbol) - const symbolsCheck = new Map() - let duplicateSymbol - - symbols.forEach(symbol => { - if (symbolsCheck.has(symbol) && symbol !== undefined) { - duplicateSymbol = symbol - return - } - symbolsCheck.set(symbol, true) - }) - - const msg = duplicateSymbol ? `found overlapping symbol ${duplicateSymbol}` : 'symbols should not overlap' - t.notOk(duplicateSymbol, msg) - t.end() -})