;;; subr-x-tests.el --- Testing the extended lisp routines
-;; Copyright (C) 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2014-2015 Free Software Foundation, Inc.
;; Author: Fabián E. Gallina <fgallina@gnu.org>
;; Keywords:
(list 1 2 3))))
(ert-deftest subr-x-test-if-let-false ()
- "Test `if-let' with falsey bindings."
+ "Test `if-let' with falsie bindings."
(should (equal
(if-let (a nil)
(list a b c)
"no")
(list 1 2 3))))
-(ert-deftest subr-x-test-if-let-and-lazyness-is-preserved ()
- "Test `if-let' respects `and' lazyness."
+(ert-deftest subr-x-test-if-let-and-laziness-is-preserved ()
+ "Test `if-let' respects `and' laziness."
(let (a-called b-called c-called)
(should (equal
(if-let ((a nil)
(list 1 2 3))))
(ert-deftest subr-x-test-when-let-false ()
- "Test `when-let' with falsey bindings."
+ "Test `when-let' with falsie bindings."
(should (equal
(when-let (a nil)
(list a b c)
(list a b c))
(list 1 2 3))))
-(ert-deftest subr-x-test-when-let-and-lazyness-is-preserved ()
- "Test `when-let' respects `and' lazyness."
+(ert-deftest subr-x-test-when-let-and-laziness-is-preserved ()
+ "Test `when-let' respects `and' laziness."
(let (a-called b-called c-called)
(should (equal
(progn