<
[index]
>
Actual output:
- Failed assertion: should throw exception of type INDEX_SIZE_ERR: g.addColorStop(-1, '#000')
- Failed assertion: should throw exception of type INDEX_SIZE_ERR: g.addColorStop(2, '#000')
- Failed assertion: should throw exception of type INDEX_SIZE_ERR: g.addColorStop(Infinity, '#000')
- Failed assertion: should throw exception of type INDEX_SIZE_ERR: g.addColorStop(-Infinity, '#000')
- Failed assertion: should throw exception of type INDEX_SIZE_ERR: g.addColorStop(NaN, '#000')