Updated first test to properly fail on the first run.

This commit is contained in:
Jim Weirich
2009-12-22 22:31:55 -05:00
parent 690ca4c022
commit 3958b3c9e5
2 changed files with 8 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ class AboutAsserts < EdgeCase::Koan
# We shall contemplate truth by testing reality, via asserts.
def test_assert_truth
assert true # This should be true
assert false # This should be true
end
# Enlightenment may be more easily achieved with appropriate

View File

@@ -7,7 +7,14 @@ class AboutAsserts < EdgeCase::Koan
# We shall contemplate truth by testing reality, via asserts.
def test_assert_truth
#--
assert true # This should be true
if false
#++
assert false # This should be true
#--
end
#++
end
# Enlightenment may be more easily achieved with appropriate