Skip to content

Commit

Permalink
Merge pull request smartystreets#565 from CodeLingoBot/rewrite
Browse files Browse the repository at this point in the history
Fix function comments based on best practices from Effective Go
  • Loading branch information
riannucci authored Jul 10, 2019
2 parents 68dc04a + 019a1be commit 9d28bd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion convey/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func SuppressConsoleStatistics() {
reporting.SuppressConsoleStatistics()
}

// ConsoleStatistics may be called at any time to print assertion statistics.
// PrintConsoleStatistics may be called at any time to print assertion statistics.
// Generally, the best place to do this would be in a TestMain function,
// after all tests have been run. Something like this:
//
Expand Down
2 changes: 1 addition & 1 deletion convey/reporting/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ var consoleStatistics = NewStatisticsReporter(NewPrinter(NewConsole()))
func SuppressConsoleStatistics() { consoleStatistics.Suppress() }
func PrintConsoleStatistics() { consoleStatistics.PrintSummary() }

// QuiteMode disables all console output symbols. This is only meant to be used
// QuietMode disables all console output symbols. This is only meant to be used
// for tests that are internal to goconvey where the output is distracting or
// otherwise not needed in the test output.
func QuietMode() {
Expand Down

0 comments on commit 9d28bd7

Please sign in to comment.