aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2013-07-09 00:35:26 -0700
committerGlenn Morris <[email protected]>2013-07-09 00:35:26 -0700
commita87b74fe644d54cabc67d01e962a2bfcbaaa495a (patch)
treeb8898a2a6ca92a5385218bb78c79f364a4c8ff2d /test
parent08be5fba9c04365d954b724de1b99d95c552478b (diff)
* test/automated/python-tests.el (python-indent-block-enders):
Make it actually test something.
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog3
-rw-r--r--test/automated/python-tests.el4
2 files changed, 5 insertions, 2 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index eee013d121..cd6b402ca2 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,5 +1,8 @@
2013-07-09 Glenn Morris <[email protected]>
+ * 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 c115f69be6..1dffe9544f 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