parent
c02320e230
commit
5eb47f8ed9
2 changed files with 17 additions and 10 deletions
|
|
@ -308,6 +308,13 @@ assert(' '.repeat(0) == "")
|
|||
assert(" ".repeat(0) == "")
|
||||
assert(spaces(0) == "")
|
||||
|
||||
# bug #11369
|
||||
|
||||
var num: int64 = -1
|
||||
assert num.toBin(64) == "1111111111111111111111111111111111111111111111111111111111111111"
|
||||
assert num.toOct(24) == "001777777777777777777777"
|
||||
|
||||
|
||||
# bug #8911
|
||||
when true:
|
||||
static:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue