Fix multiline strings (#62)

This commit is contained in:
Thomas Pelletier
2016-04-21 17:47:41 +02:00
parent e58cfd32d4
commit 1a8565204c
4 changed files with 98 additions and 43 deletions
-3
View File
@@ -107,9 +107,6 @@ func (t token) String() string {
return t.val
}
if len(t.val) > 10 {
return fmt.Sprintf("%.10q...", t.val)
}
return fmt.Sprintf("%q", t.val)
}