From 00062780882ad54f800b19412a1412bb864109b8 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 30 Jan 2014 10:33:47 +0900 Subject: move Array#[] tests from mrbgems to test/t/array.rb --- mrbgems/mruby-array-ext/test/array.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'mrbgems/mruby-array-ext/test') diff --git a/mrbgems/mruby-array-ext/test/array.rb b/mrbgems/mruby-array-ext/test/array.rb index 8a6f50fe4..1c441cec4 100644 --- a/mrbgems/mruby-array-ext/test/array.rb +++ b/mrbgems/mruby-array-ext/test/array.rb @@ -107,10 +107,3 @@ assert("Array#compact!") do a.compact! a == [1, "2", :t, false] end - -assert("Array#[]") do - a = [ "a", "b", "c", "d", "e" ] - a[1.1] == "b" and - a[1,2] == ["b", "c"] and - a[1..-2] == ["b", "c", "d"] -end -- cgit v1.2.3