9 lines
111 B
Plaintext
9 lines
111 B
Plaintext
list = [1 2 1 3]
|
|
|
|
removed = remove i in list {
|
|
i == 3
|
|
}
|
|
|
|
(assert_equal 3 removed)
|
|
(assert_equal [1 2 1] list)
|