File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -82,15 +82,15 @@ def test_stand_alone_blocks_can_be_passed_to_methods_expecting_blocks
8282
8383 # ------------------------------------------------------------------
8484
85- def method_with_explict_block ( &block )
85+ def method_with_explicit_block ( &block )
8686 block . call ( 10 )
8787 end
8888
8989 def test_methods_can_take_an_explicit_block_argument
90- assert_equal __ , method_with_explict_block { |n | n * 2 }
90+ assert_equal __ , method_with_explicit_block { |n | n * 2 }
9191
9292 add_one = lambda { |n | n + 1 }
93- assert_equal __ , method_with_explict_block ( &add_one )
93+ assert_equal __ , method_with_explicit_block ( &add_one )
9494 end
9595
9696end
Original file line number Diff line number Diff line change @@ -82,15 +82,15 @@ def test_stand_alone_blocks_can_be_passed_to_methods_expecting_blocks
8282
8383 # ------------------------------------------------------------------
8484
85- def method_with_explict_block ( &block )
85+ def method_with_explicit_block ( &block )
8686 block . call ( 10 )
8787 end
8888
8989 def test_methods_can_take_an_explicit_block_argument
90- assert_equal __ ( 20 ) , method_with_explict_block { |n | n * 2 }
90+ assert_equal __ ( 20 ) , method_with_explicit_block { |n | n * 2 }
9191
9292 add_one = lambda { |n | n + 1 }
93- assert_equal __ ( 11 ) , method_with_explict_block ( &add_one )
93+ assert_equal __ ( 11 ) , method_with_explicit_block ( &add_one )
9494 end
9595
9696end
You can’t perform that action at this time.
0 commit comments