This commit is contained in:
Andreas Rumpf 2019-06-02 14:24:38 +02:00 • committed by GitHub
commit 5eb47f8ed9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 10 deletions

View file

@ -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: