diff --git a/src/service/script/viewer.go b/src/service/script/viewer.go index dfd34b9b2a9a49bdc842de9c416b396ea82f62de..a201dc6e8e0b0ded12ba04323146ab46aa0a5a68 100755 --- a/src/service/script/viewer.go +++ b/src/service/script/viewer.go @@ -63,9 +63,9 @@ func Brief(file string, keywords string) { expects := commonUtils.RemoveBlankLine(arr[5]) if strings.Index(title, keywords) > -1 { - logUtils.PrintToStdOut(fmt.Sprintf("\n%s %s", caseId, title), color.FgCyan) + logUtils.PrintToStdOut(fmt.Sprintf("%s %s", caseId, title), color.FgCyan) fmt.Printf("Steps: \n%s \n", steps) - fmt.Printf("Expects: \n%s\n", expects) + fmt.Printf("Expects: \n%s\n\n", expects) } } }