Commit c471cea4 authored by Jun Hiroe's avatar Jun Hiroe

Add Array#uniq_bang test

parent 141593ee
......@@ -33,6 +33,9 @@ assert("Array#uniq!") do
a = [1, 2, 3, 1]
a.uniq!
assert_equal [1, 2, 3], a
b = [ "a", "b", "c" ]
assert_nil b.uniq!
end
assert("Array#uniq") do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment