From 79dfae7d32d215e916eb59e22c1eba33778989b3 Mon Sep 17 00:00:00 2001 From: andri lim Date: Thu, 17 Oct 2019 16:15:22 +0700 Subject: [PATCH] fixes typo --- stint/io.nim | 2 +- tests/test_int_addsub.nim | 2 +- tests/test_uint_addsub.nim | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stint/io.nim b/stint/io.nim index 61bd9b9..d29b0f3 100644 --- a/stint/io.nim +++ b/stint/io.nim @@ -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. ## diff --git a/tests/test_int_addsub.nim b/tests/test_int_addsub.nim index 8c2ae01..64813f3 100644 --- a/tests/test_int_addsub.nim +++ b/tests/test_int_addsub.nim @@ -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": diff --git a/tests/test_uint_addsub.nim b/tests/test_uint_addsub.nim index e9f2e57..d1de964 100644 --- a/tests/test_uint_addsub.nim +++ b/tests/test_uint_addsub.nim @@ -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":