diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-01 13:46:53 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-01 13:46:53 +0000 |
commit | f62b901b4aa66ddbf1e2a2f445c8316f3e8cbc3d (patch) | |
tree | 83769e97e39f1fd0e5ca45e821082b6b843578a7 /test/ruby/test_array.rb | |
parent | 1d94b0d1ddbd1bb45a577037c62ffcc7c51bc993 (diff) | |
download | ruby-f62b901b4aa66ddbf1e2a2f445c8316f3e8cbc3d.tar.gz ruby-f62b901b4aa66ddbf1e2a2f445c8316f3e8cbc3d.tar.xz ruby-f62b901b4aa66ddbf1e2a2f445c8316f3e8cbc3d.zip |
* lib/xmlrpc, lib/rexml, test/ruby/test_array.rb,
test/ruby/test_unicode_escape.rb, test/scanf/test_scanf.rb,
test/rss/rss-assertions.rb: fix indentation to remove warning.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_array.rb')
-rw-r--r-- | test/ruby/test_array.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb index 234fb238a..69544cfc5 100644 --- a/test/ruby/test_array.rb +++ b/test/ruby/test_array.rb @@ -1260,7 +1260,7 @@ class TestArray < Test::Unit::TestCase assert_equal(@cls[1,2], @cls[1, 2] | @cls[1, 2]) end - def test_combination + def test_combination assert_equal(@cls[[]], @cls[1,2,3,4].combination(0).to_a) assert_equal(@cls[[1],[2],[3],[4]], @cls[1,2,3,4].combination(1).to_a) assert_equal(@cls[[1,2],[1,3],[1,4],[2,3],[2,4],[3,4]], @cls[1,2,3,4].combination(2).to_a) |