Added check for diff ignores

This commit is contained in:
2018-03-09 13:42:45 +01:00
parent c95355383e
commit 8a57178664
9 changed files with 88 additions and 46 deletions

View File

@ -6,8 +6,13 @@ type JapaneseTitle struct {
TitleB string
}
// String returns the description.
func (diff *JapaneseTitle) String() string {
// Type returns the diff type.
func (diff *JapaneseTitle) Type() string {
return "JapaneseTitle"
}
// Explanation returns the description.
func (diff *JapaneseTitle) Explanation() string {
return "Japanese titles are different"
}