summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2023-04-24 08:12:08 +0000
committerOmar Rizwan <omar@omar.website>2023-04-24 08:12:08 +0000
commitd66fa174f01310189c0daba1efaeee00bb50d1de (patch)
tree8847c9540f2478a29693cef84e00fe535074ad4d /test
parentOnly flamegraph the main thread (diff)
downloadfolk-d66fa174f01310189c0daba1efaeee00bb50d1de.tar.gz
folk-d66fa174f01310189c0daba1efaeee00bb50d1de.zip
WIP (most tests pass): Move recollect into C
(Its Tcl implementation was the last bottleneck)
Diffstat (limited to 'test')
-rw-r--r--test/basic.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/basic.tcl b/test/basic.tcl
index 2dedd50d..10c8ac1f 100644
--- a/test/basic.tcl
+++ b/test/basic.tcl
@@ -5,7 +5,7 @@ proc assert condition {
}
}
proc count condition {
- llength [Statements::findMatches $condition]
+ Statements::count $condition
}
Assert programOakland has program code {