diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/emacs-lisp/eieio-tests/eieio-tests.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lisp/emacs-lisp/eieio-tests/eieio-tests.el b/test/lisp/emacs-lisp/eieio-tests/eieio-tests.el index 34c20b2003f..21adc91e555 100644 --- a/test/lisp/emacs-lisp/eieio-tests/eieio-tests.el +++ b/test/lisp/emacs-lisp/eieio-tests/eieio-tests.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; eieio-tests.el -- eieio tests routines | 1 | ;;; eieio-tests.el -- eieio test routines -*- lexical-binding: t -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1999-2003, 2005-2010, 2012-2020 Free Software | 3 | ;; Copyright (C) 1999-2003, 2005-2010, 2012-2020 Free Software |
| 4 | ;; Foundation, Inc. | 4 | ;; Foundation, Inc. |
| @@ -356,7 +356,7 @@ METHOD is the method that was attempting to be called." | |||
| 356 | (oset a test-tag 1)) | 356 | (oset a test-tag 1)) |
| 357 | 357 | ||
| 358 | (let ((ca (class-a))) | 358 | (let ((ca (class-a))) |
| 359 | (should-not (/= (oref ca test-tag) 2)))) | 359 | (should (= (oref ca test-tag) 2)))) |
| 360 | 360 | ||
| 361 | 361 | ||
| 362 | ;;; Perform slot testing | 362 | ;;; Perform slot testing |
| @@ -852,6 +852,7 @@ Subclasses to override slot attributes.") | |||
| 852 | "Instance Tracker test object.") | 852 | "Instance Tracker test object.") |
| 853 | 853 | ||
| 854 | (ert-deftest eieio-test-33-instance-tracker () | 854 | (ert-deftest eieio-test-33-instance-tracker () |
| 855 | (defvar IT-list) | ||
| 855 | (let (IT-list IT1) | 856 | (let (IT-list IT1) |
| 856 | (should (setq IT1 (IT))) | 857 | (should (setq IT1 (IT))) |
| 857 | ;; The instance tracker must find this | 858 | ;; The instance tracker must find this |