Debian Codegraph @

cli-color/test/lib/xterm-colors.js

raw
1 "use strict";
2
3 module.exports = function (t, a) {
4 var re = /^[0-9a-f]{6}$/;
5
6 a(t.length, 256, "Length");
7 t.forEach(function (data, index) { a(re.test(data), true, "In range #" + index); });
8 };