fixes typo

This commit is contained in:
andri lim 2019-10-17 16:15:22 +07:00 committed by zah
parent 057fb45f12
commit 79dfae7d32
3 changed files with 3 additions and 3 deletions

View File

@ -264,7 +264,7 @@ func toHex*[bits: static[int]](num: Stint[bits] or StUint[bits]): string {.inlin
## Leading zeros are stripped. Use dumpHex instead if you need the in-memory representation
toString(num, 16)
proc dumpHex*(x: Stint or StUint, order: static[Endianness] = bigEndian): string =
func dumpHex*(x: Stint or StUint, order: static[Endianness] = bigEndian): string =
## Stringify an int to hex.
## Note. Leading zeros are not removed. Use toString(n, base = 16)/toHex instead.
##

View File

@ -288,7 +288,7 @@ template testAddSub(chk, tst: untyped) =
static:
testAddSub(doAssert, ctTest)
suite "Wider signed int coverage":
suite "Wider signed int addsub coverage":
testAddSub(check, test)
suite "Testing signed addition implementation":

View File

@ -205,7 +205,7 @@ template testAddSub(chk, tst: untyped) =
static:
testAddSub(doAssert, ctTest)
suite "Wider unsigned int coverage":
suite "Wider unsigned int addsub coverage":
testAddSub(check, test)
suite "Testing unsigned int addition implementation":