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

8 lines
92 B
V
Raw Permalink Normal View History

import rand
fn test_string() {
res := rand.string(4)
assert res.len == 4
println(res)
}