From 9563a4ef27fac483e9ded5a303773066d843fd42 Mon Sep 17 00:00:00 2001 From: Ken Barker Date: Fri, 9 Oct 2009 18:06:47 -0400 Subject: [PATCH] Add preceding bang to make first test fail Seems in-line with the other koans at this point to require the student remove the bang. --- koans/about_nil.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/koans/about_nil.rb b/koans/about_nil.rb index b007cc0..d9853e9 100644 --- a/koans/about_nil.rb +++ b/koans/about_nil.rb @@ -2,7 +2,10 @@ require 'edgecase' class AboutNil < EdgeCase::Koan def test_nil_is_an_object - assert nil.is_a?(Object), "Unlike NULL in other languages" + # + # Hint: '!'s negate the response from what follows. + # + assert !nil.is_a?(Object), "Unlike NULL in other languages" end def test_you_dont_get_null_pointer_errors_when_calling_methods_on_nil