mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
Evaluated each assert line without a replacement test specified.
This commit is contained in:
@@ -19,10 +19,10 @@ class AboutMethods < EdgeCase::Koan
|
||||
# considered to be syntactically invalid).
|
||||
def test_sometimes_missing_parentheses_are_ambiguous
|
||||
#--
|
||||
eval "assert_equal 5, my_global_method(2, 3)" # REMOVE CHECK
|
||||
eval "assert_equal 5, my_global_method(2, 3)" # REMOVE CHECK # __
|
||||
if false
|
||||
#++
|
||||
eval "assert_equal 5, my_global_method 2, 3" # ENABLE CHECK
|
||||
eval "assert_equal 5, my_global_method 2, 3" # ENABLE CHECK # __
|
||||
#--
|
||||
end
|
||||
#++
|
||||
|
||||
Reference in New Issue
Block a user