fixes typo
This commit is contained in:
parent
057fb45f12
commit
79dfae7d32
|
@ -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.
|
||||
##
|
||||
|
|
|
@ -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":
|
||||
|
|
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue