diff --git a/internal/parser/diff/parser.go b/internal/parser/diff/parser.go index 8baf450..14230c4 100644 --- a/internal/parser/diff/parser.go +++ b/internal/parser/diff/parser.go @@ -73,7 +73,7 @@ func (*Diff) Run(results []stage.ExecutorResult, confAny any) ( forceQuit = true } comment += conf.FailComment - comment += fmt.Sprintf("Difference found in `%s`.\n", + comment += fmt.Sprintf("Difference found in `%s`\n", output.FileName) if !output.AlwaysHide { // Convert answer to string and split by lines diff --git a/internal/parser/healthcheck/parser.go b/internal/parser/healthcheck/parser.go index 7beac4f..2ab6d4d 100644 --- a/internal/parser/healthcheck/parser.go +++ b/internal/parser/healthcheck/parser.go @@ -21,7 +21,7 @@ func Parse(executorResult stage.ExecutorResult, conf Conf) (stage.ParserResult, return stage.ParserResult{ Score: 0, Comment: fmt.Sprintf( - "Unexpected executor status: %s.\n`stdout`:\n```%s\n```\n`stderr`:\n```%s\n```", + "Unexpected executor status: `%s`\n`stdout`:\n```%s\n```\n`stderr`:\n```%s\n```", executorResult.Status, stdout, stderr, ), }, true diff --git a/internal/parser/resultdetail/parser.go b/internal/parser/resultdetail/parser.go index 71a5aa0..27ce8a3 100644 --- a/internal/parser/resultdetail/parser.go +++ b/internal/parser/resultdetail/parser.go @@ -62,7 +62,7 @@ func (*ResultDetail) Run(results []stage.ExecutorResult, confAny any) ( } comment += fmt.Sprintf("```\n%s\n```\n", content) } else { - comment += "Not found.\n" + comment += "Not found\n" } } res = append(res, stage.ParserResult{