diff options
author | metagn <metagngn@gmail.com> | 2023-06-06 07:53:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 06:53:21 +0200 |
commit | 2ab948ce53e3d9b80bf9b02644c8ec8991f34d0a (patch) | |
tree | 0382d24fc7fd4c09397bc56bf7dccc7ba5b19e42 /testament | |
parent | 0a212f97a5dd4d5dd1ea84f370bd27abe55a818e (diff) | |
download | Nim-2ab948ce53e3d9b80bf9b02644c8ec8991f34d0a.tar.gz |
post expr blocks colon fix + correct grammar (#21983)
* post expr blocks colon fix + correct grammar fixes #21982 * fix dochelpers * this is remarkably common * use head for unchained * fix atlas * final grammar fix
Diffstat (limited to 'testament')
-rw-r--r-- | testament/important_packages.nim | 3 | ||||
-rw-r--r-- | testament/lib/stdtest/testutils.nim | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/testament/important_packages.nim b/testament/important_packages.nim index 6111a7c31..3230d5fab 100644 --- a/testament/important_packages.nim +++ b/testament/important_packages.nim @@ -91,7 +91,8 @@ pkg "lockfreequeues" pkg "macroutils" pkg "manu" pkg "markdown" -pkg "measuremancer", "nimble testDeps; nimble -y test" +pkg "measuremancer", "nimble install -y unchained@#HEAD; nimble -y test" +# when unchained is version 0.3.7 or higher, use `nimble testDeps;` pkg "memo" pkg "msgpack4nim", "nim c -r tests/test_spec.nim" pkg "nake", "nim c nakefile.nim" diff --git a/testament/lib/stdtest/testutils.nim b/testament/lib/stdtest/testutils.nim index 12e6a56ab..66afd62af 100644 --- a/testament/lib/stdtest/testutils.nim +++ b/testament/lib/stdtest/testutils.nim @@ -40,7 +40,7 @@ when not defined(js) and not defined(nimscript): yield line template isMatch(lhsi, rhsi): bool = if allowPrefixMatch: - startsWith(rhsi, lhsi): + startsWith(rhsi, lhsi) else: lhsi == rhsi |