diff --git a/internal/parser/diff/parser.go b/internal/parser/diff/parser.go index d5df1a2..a1800a4 100644 --- a/internal/parser/diff/parser.go +++ b/internal/parser/diff/parser.go @@ -72,7 +72,9 @@ func (*Diff) Run(results []stage.ExecutorResult, confAny any) ( if compareChars(string(answer), result.Files[output.FileName], output.CompareSpace) { score += output.Score + comment += "Pass!\n" } else { + comment += "Fail!\n" comment += fmt.Sprintf("Difference found in `%s`.\n", output.FileName) if !output.AlwaysHide { @@ -92,6 +94,8 @@ func (*Diff) Run(results []stage.ExecutorResult, confAny any) ( "```diff\n%s\n```\n", diffOutput, ) + } else { + comment += "(Content hidden.)\n" } } }