diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/progmodes/python-tests.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el index 34a05194dfa..94c846ecb16 100644 --- a/test/lisp/progmodes/python-tests.el +++ b/test/lisp/progmodes/python-tests.el | |||
| @@ -1161,10 +1161,13 @@ def b() | |||
| 1161 | if do: | 1161 | if do: |
| 1162 | something() | 1162 | something() |
| 1163 | else | 1163 | else |
| 1164 | outside | ||
| 1164 | " | 1165 | " |
| 1165 | (python-tests-look-at "else") | 1166 | (python-tests-look-at "else") |
| 1166 | (goto-char (line-end-position)) | 1167 | (goto-char (line-end-position)) |
| 1167 | (python-tests-self-insert ":") | 1168 | (python-tests-self-insert ":") |
| 1169 | (should (= (current-indentation) 0)) | ||
| 1170 | (python-tests-look-at "outside") | ||
| 1168 | (should (= (current-indentation) 0)))) | 1171 | (should (= (current-indentation) 0)))) |
| 1169 | 1172 | ||
| 1170 | (ert-deftest python-indent-electric-colon-3 () | 1173 | (ert-deftest python-indent-electric-colon-3 () |