mirror of
https://github.com/pesde-pkg/scripts.git
synced 2024-12-12 07:00:35 +00:00
chore(lune): remove unneeded status from frktest reporter
This commit is contained in:
parent
ca5f2d53c8
commit
b7ccc05702
1 changed files with 2 additions and 4 deletions
|
@ -10,10 +10,8 @@ local STYLE = table.freeze({
|
|||
return `{stdio.style("bold")}{stdio.color("purple")}SUITE{stdio.style("reset")} {name}`
|
||||
end,
|
||||
|
||||
report = function(name: string, state: "run" | "success" | "error" | "skip", elapsed: number)
|
||||
local state_color: stdio.Color = if state == "run"
|
||||
then "white"
|
||||
elseif state == "success" then "green"
|
||||
report = function(name: string, state: "success" | "error" | "skip", elapsed: number)
|
||||
local state_color: stdio.Color = if state == "success" then "green"
|
||||
elseif state == "error" then "red"
|
||||
elseif state == "skip" then "yellow"
|
||||
else error("Invalid test state")
|
||||
|
|
Loading…
Reference in a new issue