Skip to content

Commit

Permalink
text/v2: fix an error message
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed Dec 3, 2023
1 parent 81e0e61 commit 800101d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/v2/multi.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func NewMultiFace(faces ...Face) (*MultiFace, error) {
d := faces[0].direction()
for _, f := range faces[1:] {
if f.direction() != d {
return nil, errors.New("text: all the faces' directions must agree")
return nil, errors.New("text: all the faces' directions must agree at NewMultiFace")
}
}

Expand Down

0 comments on commit 800101d

Please sign in to comment.