diff options
| author | Jun Hiroe <[email protected]> | 2014-04-12 15:54:25 +0900 |
|---|---|---|
| committer | Jun Hiroe <[email protected]> | 2014-04-12 15:57:14 +0900 |
| commit | c471cea4d72114b9f8c31828ff97ef7755e2e992 (patch) | |
| tree | dec01a811532d50149437c1c5c0ee47d343a8914 /mrbgems/mruby-array-ext | |
| parent | 141593ee095fbe17857c4a3af6fba801b98845b4 (diff) | |
| download | mruby-c471cea4d72114b9f8c31828ff97ef7755e2e992.tar.gz mruby-c471cea4d72114b9f8c31828ff97ef7755e2e992.zip | |
Add Array#uniq_bang test
Diffstat (limited to 'mrbgems/mruby-array-ext')
| -rw-r--r-- | mrbgems/mruby-array-ext/test/array.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mrbgems/mruby-array-ext/test/array.rb b/mrbgems/mruby-array-ext/test/array.rb index 3950307d1..9a0f25f9a 100644 --- a/mrbgems/mruby-array-ext/test/array.rb +++ b/mrbgems/mruby-array-ext/test/array.rb @@ -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 |
