Add Array#uniq_bang test

This commit is contained in:
Jun Hiroe
2014-04-12 15:54:25 +09:00
parent 141593ee09
commit c471cea4d7
+3
View File
@@ -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