Replaced deprecated repeatStr() with repeat().
This commit is contained in:
parent
58186f6c1d
commit
b902ea887b
7 changed files with 14 additions and 14 deletions
|
|
@ -174,7 +174,7 @@ when isMainModule:
|
|||
block:
|
||||
var
|
||||
TestFile: FileChallengePair
|
||||
contents = repeatStr(2, "abcdefghijklmnopqrstuvwxyz")
|
||||
contents = repeat("abcdefghijklmnopqrstuvwxyz", 2)
|
||||
testFile.challenge = newScFileChallenge("foobar.test", FZoneCfg, contents.len.int32)
|
||||
testFile.file = checksumStr(contents)
|
||||
myAssets.add testFile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue