mirror of
https://github.com/vlang/v.git
synced 2025-09-12 00:46:55 -04:00
extend tests for strings
module
This commit is contained in:
parent
848cd3cb3e
commit
b88cb1ca69
@ -3,4 +3,5 @@ import strings
|
||||
fn test_repeat() {
|
||||
assert strings.repeat(`x`, 10) == 'xxxxxxxxxx'
|
||||
assert strings.repeat(`a`, 1) == 'a'
|
||||
assert strings.repeat(`a`, 0) == ''
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user