mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -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
|
# Enlightenment may be more easily achieved with appropriate
|
||||||
# messages.
|
# messages.
|
||||||
def test_assert_with_message
|
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"
|
assert false, "This should be true -- Please fix this"
|
||||||
|
#--
|
||||||
|
end
|
||||||
|
#++
|
||||||
end
|
end
|
||||||
|
|
||||||
# To understand reality, we must compare our expectations against
|
# To understand reality, we must compare our expectations against
|
||||||
|
|||||||
Reference in New Issue
Block a user