kuroko/test/generateLongListTest.krk

15 lines
277 B
Python

import fileio
let f = fileio.open("test/testLongList.krk","w")
f.write("# This file was generated by generateLongListTest.krk\n")
f.write("let l = [")
for x in range(1,1000):
f.write(str(x))
f.write(",")
f.write("\"applesauce\"]\n")
f.write("print(l)\n")
f.close()