diff --git a/koans/about_asserts.rb b/koans/about_asserts.rb index e99bcf3..53a42aa 100644 --- a/koans/about_asserts.rb +++ b/koans/about_asserts.rb @@ -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 diff --git a/src/about_asserts.rb b/src/about_asserts.rb index 8304f71..37253d4 100644 --- a/src/about_asserts.rb +++ b/src/about_asserts.rb @@ -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