to string tunage

This commit is contained in:
gobwas 2016-02-25 00:42:26 +03:00
parent b7874cc364
commit 04523b0f59
1 changed files with 1 additions and 1 deletions

View File

@ -41,5 +41,5 @@ func (self Text) Index(s string) (int, []int) {
}
func (self Text) String() string {
return fmt.Sprintf("<text:%s>", self.Str)
return fmt.Sprintf("<text:`%v`>", self.Str)
}