@@ -148,12 +148,12 @@ def test_add_file_signer_empty
148148 end
149149
150150 def test_add_file_simple
151- @tar_writer . add_file_simple 'x' , 0644 , 10 do |io |
152- io . write "a" * 10
153- end
151+ @tar_writer . add_file_simple 'x' , 0644 , 10 do |io |
152+ io . write "a" * 10
153+ end
154154
155- assert_headers_equal ( tar_file_header ( 'x' , '' , 0644 , 10 , Time . now ) ,
156- @io . string [ 0 , 512 ] )
155+ assert_headers_equal ( tar_file_header ( 'x' , '' , 0644 , 10 , Time . now ) ,
156+ @io . string [ 0 , 512 ] )
157157
158158 assert_equal "aaaaaaaaaa#{ "\0 " * 502 } " , @io . string [ 512 , 512 ]
159159 assert_equal 1024 , @io . pos
@@ -170,10 +170,10 @@ def test_add_file_simple_source_date_epoch
170170 end
171171
172172 def test_add_file_simple_padding
173- @tar_writer . add_file_simple 'x' , 0 , 100
173+ @tar_writer . add_file_simple 'x' , 0 , 100
174174
175- assert_headers_equal tar_file_header ( 'x' , '' , 0 , 100 , Time . now ) ,
176- @io . string [ 0 , 512 ]
175+ assert_headers_equal tar_file_header ( 'x' , '' , 0 , 100 , Time . now ) ,
176+ @io . string [ 0 , 512 ]
177177
178178 assert_equal "\0 " * 512 , @io . string [ 512 , 512 ]
179179 end
0 commit comments