packer-cn/vendor/github.com/approvals/go-approval-tests/reporters/newbie.go

19 lines
498 B
Go
Raw Normal View History

2016-07-11 18:08:28 -04:00
package reporters
import (
"fmt"
)
type printSupportedDiffPrograms struct{}
// NewPrintSupportedDiffProgramsReporter creates a new reporter that states what reporters are supported.
func NewPrintSupportedDiffProgramsReporter() Reporter {
return &quiet{}
}
func (s *printSupportedDiffPrograms) Report(approved, received string) bool {
fmt.Printf("no diff reporters found on your system\ncurrently supported reporters are [in order of preference]:\nBeyond Compare\nIntelliJ")
return false
}