diff options
| author | Phillip Lord | 2015-11-29 10:02:33 +0000 |
|---|---|---|
| committer | Phillip Lord | 2015-11-30 21:32:31 +0000 |
| commit | 063985518f1092a9eb4b696aaec816ae9280f260 (patch) | |
| tree | 378d2aaf602973b82765e0f360c19480f5676dda /test/src/alloc-tests.el | |
| parent | 0baf45dbe3dfeb9f5fc03a3213ceeccb170643cf (diff) | |
| download | emacs-063985518f1092a9eb4b696aaec816ae9280f260.tar.gz emacs-063985518f1092a9eb4b696aaec816ae9280f260.zip | |
Test files renamed to new scheme.
* (finalizer-tests.el): Now renamed alloc-tests.el
* (zlib-tests.el): Now renamed decompress-tests.el.
Diffstat (limited to 'test/src/alloc-tests.el')
| -rw-r--r-- | test/src/alloc-tests.el | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/src/alloc-tests.el b/test/src/alloc-tests.el new file mode 100644 index 00000000000..218df05e426 --- /dev/null +++ b/test/src/alloc-tests.el | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | ;;; finalizer-tests.el --- Finalizer tests -*- lexical-binding: t -*- | ||
| 2 | |||
| 3 | ;; Copyright (C) 2015 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | ;; Author: Daniel Colascione <dancol@dancol.org> | ||
| 6 | ;; Keywords: | ||
| 7 | |||
| 8 | ;; This file is part of GNU Emacs. | ||
| 9 | |||
| 10 | ;; GNU Emacs is free software: you can redistribute it and/or modify | ||
| 11 | ;; it under the terms of the GNU General Public License as published by | ||
| 12 | ;; the Free Software Foundation, either version 3 of the License, or | ||
| 13 | ;; (at your option) any later version. | ||
| 14 | |||
| 15 | ;; GNU Emacs is distributed in the hope that it will be useful, | ||
| 16 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 18 | ;; GNU General Public License for more details. | ||
| 19 | |||
| 20 | ;; You should have received a copy of the GNU General Public License | ||
| 21 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | ||
| 22 | |||
| 23 | ;;; Commentary: | ||
| 24 | |||
| 25 | ;; | ||
| 26 | |||
| 27 | ;;; Code: | ||
| 28 | |||
| 29 | (require 'ert) | ||
| 30 | (require 'cl-lib) | ||
| 31 | |||
| 32 | (ert-deftest finalizer-object-type () | ||
| 33 | (should (equal (type-of (make-finalizer nil)) 'finalizer))) | ||