This commit is contained in:
Araq 2018-01-14 23:49:53 +01:00
commit 9a60eae631
3 changed files with 114 additions and 114 deletions

View file

@ -9,5 +9,5 @@ type Obj = object
proc `$`(o: Obj): string = "foobar"
var o: Obj
doAssert %"{o}" == "foobar"
doAssert %"{o:10}" == "foobar "
doAssert fmt"{o}" == "foobar"
doAssert fmt"{o:10}" == "foobar "