mirror of
https://github.com/littensy/charm.git
synced 2026-10-20 17:51:37 +00:00
test: color brackets
This commit is contained in:
parent
3f1556a6e2
commit
dcb1de2844
1 changed files with 2 additions and 2 deletions
|
|
@ -141,8 +141,8 @@ local function finish()
|
|||
local redOrGreen: (string | number) -> string = if failed then color.red else color.green
|
||||
|
||||
table.insert(output, "")
|
||||
table.insert(output, `Test Files {redOrGreen(`{filesOk} passed`)} ({color.gray(`{files}`)})`)
|
||||
table.insert(output, ` Tests {redOrGreen(`{testsOk} passed`)} ({color.gray(`{tests}`)})`)
|
||||
table.insert(output, `Test Files {redOrGreen(`{filesOk} passed`)} {color.gray(`({files})`)}`)
|
||||
table.insert(output, ` Tests {redOrGreen(`{testsOk} passed`)} {color.gray(`({tests})`)}`)
|
||||
table.insert(output, ` Duration {color.blue(`{millis}ms`)}`)
|
||||
|
||||
print("\n" .. table.concat(output, "\n") .. "\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue