* test/automated/python-tests.el (python-indent-block-enders):

Make it actually test something.
This commit is contained in:
Glenn Morris 2013-07-09 00:35:26 -07:00
parent 08be5fba9c
commit a87b74fe64
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2013-07-09 Glenn Morris <rgm@gnu.org>
* automated/python-tests.el (python-indent-block-enders):
Make it actually test something.
* automated/package-x-test.el: Require package-test when compiling.
* automated/add-log-tests.el, automated/advice-tests.el:

View file

@ -464,10 +464,10 @@ Class foo(object):
"
(python-tests-look-at "3)")
(forward-line 1)
(= (python-indent-calculate-indentation) 12)
(should (= (python-indent-calculate-indentation) 8))
(python-tests-look-at "pass")
(forward-line 1)
(= (python-indent-calculate-indentation) 8)))
(should (= (python-indent-calculate-indentation) 8))))
;;; Navigation