diff options
author | flywind <xzsflywind@gmail.com> | 2022-04-13 17:53:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-13 11:53:02 +0200 |
commit | 98cebad7debddfb147ee22bc6f3d81221582c4d6 (patch) | |
tree | 621a6f1c79778f155cbd803aac1f7468e8f0cd13 /tests/stdlib/nre | |
parent | 26bcf18f918b2bcc7b6b2e230ae74d7726dca6d0 (diff) | |
download | Nim-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.nim | 4 |
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") |