Fixed test file line lengths.

This commit is contained in:
Gustavo R. 'Gustavo6046' Rehermann
2018-11-01 11:40:51 -03:00
parent c1ec00f135
commit f6b9c19c45
+8 -1
View File
@@ -20,5 +20,12 @@ Object.keys({
, brightCyan: 96
, brightWhite: 97
}).forEach((color) => {
(<{ [key: string]: (..._: any[]) => ansi.Cursor }> cursor)[color]().bold().write(`Hello, bold ${color.replace(/([a-z])([A-Z])/g, (_: string, l: string, u: string): string => `${l} ${u.toLowerCase()}`)} world!\n`).reset();
let cname = color.replace(/([a-z])([A-Z])/g, (_: string, l: string, u: string): string => `${l} ${u.toLowerCase()}`);
(<(...anything: any[]) => ansi.Cursor> cursor[color])()
.bold()
.write(
`Hello, bold ${cname} world!\n`
)
.reset();
});