Skip to content

Commit

Permalink
Re-add the original dots format
Browse files Browse the repository at this point in the history
as dots-compact
  • Loading branch information
dnephin committed Feb 21, 2020
1 parent dfe7af0 commit 9a4b2e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Flags:
fmt.Fprint(os.Stderr, `
Formats:
dots print a character for each test
dots-compact dots, without the newlines
pkgname print a line for each package
pkgname-and-test-fails print a line for each package and failed test output
testname print a line for each test and package
Expand Down
2 changes: 2 additions & 0 deletions testjson/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ func NewEventFormatter(out io.Writer, format string) EventFormatter {
return &formatAdapter{out, standardQuietFormat}
case "dots":
return newDotFormatter(out)
case "dots-compact":
return &formatAdapter{out, dotsFormatV1}
case "testname", "short-verbose":
return &formatAdapter{out, shortVerboseFormat}
case "pkgname", "short":
Expand Down

0 comments on commit 9a4b2e3

Please sign in to comment.