summary refs log tree commit diff stats
path: root/tests/vm/tfile_rw.nim
diff options
context:
space:
mode:
authorcooldome <cdome@bk.ru>2020-01-02 22:27:37 +0000
committerAndreas Rumpf <rumpf_a@web.de>2020-01-02 23:27:37 +0100
commitc949b81efdeb08b38224e1678ad140b7b7663b15 (patch)
tree1d69cd2c0e32090419f4ed679b752f79c777d54c /tests/vm/tfile_rw.nim
parent002d50f1f064cae1dbf49987172f7af5d9e7d35c (diff)
downloadNim-c949b81efdeb08b38224e1678ad140b7b7663b15.tar.gz
remove default argument for readLines (#12807) [backport]
Diffstat (limited to 'tests/vm/tfile_rw.nim')
-rw-r--r--tests/vm/tfile_rw.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vm/tfile_rw.nim b/tests/vm/tfile_rw.nim
index 8d7a2ca95..75242794c 100644
--- a/tests/vm/tfile_rw.nim
+++ b/tests/vm/tfile_rw.nim
@@ -13,7 +13,7 @@ static:
   writeFile(filename, mytext)
 const myfile_str = staticRead(filename)
 const myfile_str2 = readFile(filename)
-const myfile_str_seq = readLines(filename, 3)
+const myfile_str_seq = staticReadLines(filename, 3)
 
 static:
   doAssert myfile_str == mytext