1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tests: fix some tests

This commit is contained in:
Alexander Medvednikov
2020-07-24 01:55:55 +02:00
parent d2675b89c0
commit ec443c65a8
3 changed files with 26 additions and 26 deletions

View File

@ -18,7 +18,7 @@ fn init() {
// new_default returns a new instance of the default RNG. If the seed is not provided, the current time will be used to seed the instance.
pub fn new_default(config PRNGConfigStruct) &wyrand.WyRandRNG {
rng := &wyrand.WyRandRNG{}
mut rng := &wyrand.WyRandRNG{}
rng.seed(config.seed)
return rng
}