]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/automated/python-tests.el (python-indent-block-enders):
authorGlenn Morris <rgm@gnu.org>
Tue, 9 Jul 2013 07:35:26 +0000 (00:35 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 9 Jul 2013 07:35:26 +0000 (00:35 -0700)
Make it actually test something.

test/ChangeLog
test/automated/python-tests.el

index eee013d1218eac371fa0273327032a43c0e8f289..cd6b402ca23b7a68f1221fb45ab7ab430211fb09 100644 (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:
index c115f69be63e59a8b904cc43bbcbf0fdf1a862ad..1dffe9544fef1827443bead4cbfb0468485480f0 100644 (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))))
 
 \f
 ;;; Navigation