]> code.delx.au - gnu-emacs/blobdiff - test/automated/cl-lib-tests.el
Spelling fixes
[gnu-emacs] / test / automated / cl-lib-tests.el
index e4c6e914ee2a76e2e6f999ca6724a2d591e4e329..c83391b1cc5f15bef8373941b034d97e6d3ec94a 100644 (file)
@@ -1,6 +1,6 @@
 ;;; cl-lib.el --- tests for emacs-lisp/cl-lib.el
 
-;; Copyright (C) 2013-2014 Free Software Foundation, Inc.
+;; Copyright (C) 2013-2015 Free Software Foundation, Inc.
 
 ;; This file is part of GNU Emacs.
 
 (ert-deftest cl-loop-destructuring-with ()
   (should (equal (cl-loop with (a b c) = '(1 2 3) return (+ a b c)) 6)))
 
+(ert-deftest cl-flet-test ()
+  (should (equal (cl-flet ((f1 (x) x)) (let ((x #'f1)) (funcall x 5))) 5)))
+
 ;;; cl-lib.el ends here