summary refs log tree commit diff stats
path: root/tests/stdlib/tunicode.nim
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/tunicode.nim
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/tunicode.nim')
-rw-r--r--tests/stdlib/tunicode.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stdlib/tunicode.nim b/tests/stdlib/tunicode.nim
index 33405cf38..3a8206c8f 100644
--- a/tests/stdlib/tunicode.nim
+++ b/tests/stdlib/tunicode.nim
@@ -218,5 +218,5 @@ block: # bug #17768
   let s1 = "abcdef"
   let s2 = "abcdéf"
 
-  doAssert s1.runeSubstr(0, -1) == "abcde"
-  doAssert s2.runeSubstr(0, -1) == "abcdé"
+  doAssert s1.runeSubStr(0, -1) == "abcde"
+  doAssert s2.runeSubStr(0, -1) == "abcdé"