[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 1db7e8eba96: Fix test in python-tests.el added by bug #62092
From: |
Mattias Engdegård |
Subject: |
master 1db7e8eba96: Fix test in python-tests.el added by bug #62092 |
Date: |
Tue, 15 Aug 2023 11:08:02 -0400 (EDT) |
branch: master
commit 1db7e8eba961e88181879213dd5374ad9e87ac76
Author: kobarity <kobarity@gmail.com>
Commit: Mattias Engdegård <mattiase@acm.org>
Fix test in python-tests.el added by bug #62092
* test/lisp/progmodes/python-tests.el
(python-info-dedenter-opening-block-positions-6): Fix indentation.
(python-info-dedenter-opening-block-positions-7): Add calling
`should'. Add RESTORE-POINT argument when calling
`python-tests-look-at'.
---
test/lisp/progmodes/python-tests.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/test/lisp/progmodes/python-tests.el
b/test/lisp/progmodes/python-tests.el
index 54e32cbf07b..9f935f2748c 100644
--- a/test/lisp/progmodes/python-tests.el
+++ b/test/lisp/progmodes/python-tests.el
@@ -5973,9 +5973,9 @@ def func():
else
"
(python-tests-look-at "else\n")
- (should
- (equal (list (python-tests-look-at "if (" -1 t))
- (python-info-dedenter-opening-block-positions)))))
+ (should
+ (equal (list (python-tests-look-at "if (" -1 t))
+ (python-info-dedenter-opening-block-positions)))))
(ert-deftest python-info-dedenter-opening-block-positions-7 ()
"Test case blocks."
@@ -5993,9 +5993,9 @@ match a:
(python-tests-look-at "case 2:")
(should-not (python-info-dedenter-opening-block-positions))
(python-tests-look-at "case 3:")
- (equal (list (python-tests-look-at "case 2:" -1)
- (python-tests-look-at "case 1:" -1 t))
- (python-info-dedenter-opening-block-positions))))
+ (should (equal (list (python-tests-look-at "case 2:" -1 t)
+ (python-tests-look-at "case 1:" -1 t))
+ (python-info-dedenter-opening-block-positions)))))
(ert-deftest python-info-dedenter-opening-block-message-1 ()
"Test dedenters inside strings are ignored."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 1db7e8eba96: Fix test in python-tests.el added by bug #62092,
Mattias Engdegård <=