Skip to content

Commit

Permalink
Adjust blanks to be the same length
Browse files Browse the repository at this point in the history
This way, the test framework can throw the correct errors for these
tests as it only allows blanks of exactly four underscores.
  • Loading branch information
janEbert committed Jun 23, 2020
1 parent cf7818b commit 80a6456
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions koans/functions.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@
(assert-equal ____ (funcall (fourth functions) 2 33))))

(define-test lambda-with-optional-parameters
(assert-equal ___ ((lambda (a &optional (b 100)) (+ a b)) 10 9))
(assert-equal ___ ((lambda (a &optional (b 100)) (+ a b)) 10)))
(assert-equal ____ ((lambda (a &optional (b 100)) (+ a b)) 10 9))
(assert-equal ____ ((lambda (a &optional (b 100)) (+ a b)) 10)))

(defun make-adder (x)
;; MAKE-ADDER will create a function that closes over the parameter X.
Expand Down
2 changes: 1 addition & 1 deletion koans/strings.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
(let ((string "this is
a multi
line string"))
(true-or-false? ___ (typep string 'string))))
(true-or-false? ____ (typep string 'string))))

(define-test escapes-in-strings
;; Quotes and backslashes in Lisp strings must be escaped.
Expand Down

0 comments on commit 80a6456

Please sign in to comment.