Kouhei Sutou
null+****@clear*****
Wed Jan 1 23:43:40 JST 2014
Kouhei Sutou 2014-01-01 23:43:40 +0900 (Wed, 01 Jan 2014) New Revision: de19a5d64d1dcb0ff4191ccf544f7d0a4275f1a2 https://github.com/ranguba/chupa-text/commit/de19a5d64d1dcb0ff4191ccf544f7d0a4275f1a2 Message: Indent Modified files: test/decomposer/test-tar.rb Modified: test/decomposer/test-tar.rb (+32 -32) =================================================================== --- test/decomposer/test-tar.rb 2014-01-01 23:43:27 +0900 (dcd2a23) +++ test/decomposer/test-tar.rb 2014-01-01 23:43:40 +0900 (20886d9) @@ -39,42 +39,42 @@ class TestTarDecomposer < Test::Unit::TestCase decomposed end - sub_test_case("top-level") do - def setup - super - @data = ChupaText::Data.new - @data.path = fixture_path("top-level.tar") - end + sub_test_case("top-level") do + def setup + super + @data = ChupaText::Data.new + @data.path = fixture_path("top-level.tar") + end - def test_decompose - assert_equal([ - { - :path => "top-level.txt", - :body => "top level\n", - :source => @data.path.to_s, - }, - ], - decompose(@data)) + def test_decompose + assert_equal([ + { + :path => "top-level.txt", + :body => "top level\n", + :source => @data.path.to_s, + }, + ], + decompose(@data)) + end end - end - sub_test_case("directory") do - def setup - super - @data = ChupaText::Data.new - @data.path = fixture_path("directory.tar") - end + sub_test_case("directory") do + def setup + super + @data = ChupaText::Data.new + @data.path = fixture_path("directory.tar") + end - def test_decompose - assert_equal([ - { - :path => "directory/hello.txt", - :body => "Hello in directory\n", - :source => @data.path.to_s, - }, - ], - decompose(@data)) + def test_decompose + assert_equal([ + { + :path => "directory/hello.txt", + :body => "Hello in directory\n", + :source => @data.path.to_s, + }, + ], + decompose(@data)) + end end end - end end -------------- next part -------------- HTML����������������������������...Descargar