emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113342: * test/automated/python-tests.el (python-in


From: Glenn Morris
Subject: [Emacs-diffs] trunk r113342: * test/automated/python-tests.el (python-indent-block-enders):
Date: Tue, 09 Jul 2013 07:35:34 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113342
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2013-07-09 00:35:26 -0700
message:
  * test/automated/python-tests.el (python-indent-block-enders):
  Make it actually test something.
modified:
  test/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-8588
  test/automated/python-tests.el 
pythontests.el-20130220195218-kqcioz3fssz9hwe1-1
=== modified file 'test/ChangeLog'
--- a/test/ChangeLog    2013-07-09 07:14:39 +0000
+++ b/test/ChangeLog    2013-07-09 07:35:26 +0000
@@ -1,5 +1,8 @@
 2013-07-09  Glenn Morris  <address@hidden>
 
+       * 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:

=== modified file 'test/automated/python-tests.el'
--- a/test/automated/python-tests.el    2013-07-09 07:11:50 +0000
+++ b/test/automated/python-tests.el    2013-07-09 07:35:26 +0000
@@ -464,10 +464,10 @@
 "
    (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]