Tests for Title Info

This commit is contained in:
Oliver Jakoubek 2020-07-06 20:18:58 +02:00
commit f4dfec91c4
2 changed files with 80 additions and 3 deletions

View file

@ -113,7 +113,7 @@ func (ti *TitleInfo) PrintObjectName() string {
// TitleName returns the title name segment (+40) FERAG-formatted
func (ti *TitleInfo) TitleName() string {
return fmt.Sprintf("+40%-8s", ti.titleName)
return fmt.Sprintf("+40%-8.8s", ti.titleName)
}
// SetTitleName sets the title name segment (+40)