mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-14 23:13:20 -04:00
Fixed broken assert in src, so that it is still broken in koan
This commit is contained in:
@@ -13,7 +13,14 @@ class AboutAsserts < EdgeCase::Koan
|
||||
# Enlightenment may be more easily achieved with appropriate
|
||||
# messages.
|
||||
def test_assert_with_message
|
||||
#--
|
||||
assert true, "This should be true -- Please fix this"
|
||||
if false
|
||||
#++
|
||||
assert false, "This should be true -- Please fix this"
|
||||
#--
|
||||
end
|
||||
#++
|
||||
end
|
||||
|
||||
# To understand reality, we must compare our expectations against
|
||||
|
||||
Reference in New Issue
Block a user