summary refs log tree commit diff stats
path: root/tests/stdlib/nre
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2022-04-13 17:53:02 +0800
committerGitHub <noreply@github.com>2022-04-13 11:53:02 +0200
commit98cebad7debddfb147ee22bc6f3d81221582c4d6 (patch)
tree621a6f1c79778f155cbd803aac1f7468e8f0cd13 /tests/stdlib/nre
parent26bcf18f918b2bcc7b6b2e230ae74d7726dca6d0 (diff)
downloadNim-98cebad7debddfb147ee22bc6f3d81221582c4d6.tar.gz
enable style:usages for stdlib tests [backport: 1.6] (#19715)
* enable style:usages for stdlib tests

* freeAddrInfo

* more tests

* importc

* bufSize

* fix more

* => parseSql and renderSql
Diffstat (limited to 'tests/stdlib/nre')
-rw-r--r--tests/stdlib/nre/misc.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stdlib/nre/misc.nim b/tests/stdlib/nre/misc.nim
index dbb0ecdf9..b7df08ee9 100644
--- a/tests/stdlib/nre/misc.nim
+++ b/tests/stdlib/nre/misc.nim
@@ -6,8 +6,8 @@ block: # Misc tests
     check("перевірка".replace(re"(*U)\w", "") == "")
 
   block: # empty or non-empty match
-    check("abc".findall(re"|.").join(":") == ":a::b::c:")
-    check("abc".findall(re".|").join(":") == "a:b:c:")
+    check("abc".findAll(re"|.").join(":") == ":a::b::c:")
+    check("abc".findAll(re".|").join(":") == "a:b:c:")
 
     check("abc".replace(re"|.", "x") == "xxxxxxx")
     check("abc".replace(re".|", "x") == "xxxx")