From 5060b421c73fc832c1585ef95c44a4af6aec7028 Mon Sep 17 00:00:00 2001 From: calebphillips Date: Thu, 9 Jun 2011 16:27:59 -0500 Subject: [PATCH] Updated example in conditionals that was passing without change. "And in such a situation you may have nothing" --- src/koans/conditionals.clj | 2 +- src/path_to_answer_sheet.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/koans/conditionals.clj b/src/koans/conditionals.clj index 9d76c19..05468a3 100644 --- a/src/koans/conditionals.clj +++ b/src/koans/conditionals.clj @@ -18,7 +18,7 @@ [])) "And in such a situation you may have nothing" - (= nil (if (nil? __) + (= __ (if (nil? 0) [:a :b :c])) "In others your alternative may be interesting" diff --git a/src/path_to_answer_sheet.clj b/src/path_to_answer_sheet.clj index 8b2126e..2bf71dd 100644 --- a/src/path_to_answer_sheet.clj +++ b/src/path_to_answer_sheet.clj @@ -69,7 +69,7 @@ "conditionals" {"__" [:a [] - 0 + nil :glory 4 6 :your_road ''doom 0