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 | 46321a9a313d934d23949ccecaa358c1761fd93c (patch) | |
tree | 83769e97e39f1fd0e5ca45e821082b6b843578a7 /test | |
parent | 952385b71267a843f8e71d0573f5b2fcf5709787 (diff) | |
download | ruby-46321a9a313d934d23949ccecaa358c1761fd93c.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@19657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/rss/rss-assertions.rb | 2 | ||||
-rw-r--r-- | test/ruby/test_array.rb | 2 | ||||
-rw-r--r-- | test/ruby/test_unicode_escape.rb | 2 | ||||
-rw-r--r-- | test/scanf/test_scanf.rb | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/test/rss/rss-assertions.rb b/test/rss/rss-assertions.rb index 88634f360f..0a84e4f16d 100644 --- a/test/rss/rss-assertions.rb +++ b/test/rss/rss-assertions.rb @@ -1464,7 +1464,7 @@ EOA _assert_maker_atom_element(feed_type, maker_readers, feed_readers, maker_extractor, feed_extractor, &block) - end + end def assert_maker_atom_generator(feed_type, maker_readers, feed_readers, not_set_error_name=nil, &block) diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb index 234fb238a2..69544cfc51 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) diff --git a/test/ruby/test_unicode_escape.rb b/test/ruby/test_unicode_escape.rb index e86489ec5c..f64b184230 100644 --- a/test/ruby/test_unicode_escape.rb +++ b/test/ruby/test_unicode_escape.rb @@ -263,5 +263,5 @@ EOS # assert_raise(SyntaxError) { "\uDFFF" } # surrogate block # assert_raise(SyntaxError) { "\uD847\uDD9A" } # surrogate pair - end + end end diff --git a/test/scanf/test_scanf.rb b/test/scanf/test_scanf.rb index 66ca629f54..2e9e10ba5d 100644 --- a/test/scanf/test_scanf.rb +++ b/test/scanf/test_scanf.rb @@ -16,7 +16,7 @@ class TestIOScanf < Test::Unit::TestCase;end module ScanfTests -def tests + def tests [ # Scratchpad @@ -284,8 +284,8 @@ def tests [" [%d,%f", " [10,1.1", [10,1.1] ], ] - end end +end class TestStringScanf include Scanf |