test: actually repeat

This commit is contained in:
rvcas 2022-12-11 20:19:54 -05:00 committed by KtorZ
parent 15dc202810
commit 77386893d7
No known key found for this signature in database
GPG Key ID: 33173CB6F77F4277
1 changed files with 1 additions and 1 deletions

View File

@ -7,5 +7,5 @@ pub fn repeat(x: a, n: Int) -> List(a) {
}
test repeat_1() {
repeat("aiken", 0) == []
repeat("aiken", 1) == ["aiken"]
}