This commit is contained in:
Jaremy Creechley 2023-09-14 19:28:38 -07:00
parent 6557e59dc4
commit fe9b6ebc67
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -54,7 +54,7 @@ proc runDestroyOnReleaseTest() =
a.decr()
a.release()
proc testSuite() =
suite "Share buffer test":
setup:
@ -63,7 +63,7 @@ suite "Share buffer test":
let a3 {.used.} = a2
test "basics":
echo "a1: ", $a1
# echo "a1: ", $a1
check $a1 == "nil\"\""
check a1.isNil
# check $a2 == "(value: 0, cnt: 2)"
@ -125,3 +125,8 @@ suite "Share buffer test":
# TODO: add async test
when isMainModule:
for i in 1..10_000:
testSuite()
else:
testSuite()