From a87b74fe644d54cabc67d01e962a2bfcbaaa495a Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 9 Jul 2013 00:35:26 -0700 Subject: [PATCH] * test/automated/python-tests.el (python-indent-block-enders): Make it actually test something. --- test/ChangeLog | 3 +++ test/automated/python-tests.el | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/test/ChangeLog b/test/ChangeLog index eee013d1218..cd6b402ca23 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,5 +1,8 @@ 2013-07-09 Glenn Morris + * 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: diff --git a/test/automated/python-tests.el b/test/automated/python-tests.el index c115f69be63..1dffe9544fe 100644 --- a/test/automated/python-tests.el +++ b/test/automated/python-tests.el @@ -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 -- 2.39.2