diff options
| author | Noam Postavsky | 2017-05-22 12:32:04 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2017-05-28 23:33:25 -0400 |
| commit | eafc985f7ea975f86b22d9456a2f91fe5342a9ca (patch) | |
| tree | 98d732542824440c07dde773f59d7487231fc782 | |
| parent | c9097e9b5f5e427c7d2438db9aad190222882aa1 (diff) | |
| download | emacs-eafc985f7ea975f86b22d9456a2f91fe5342a9ca.tar.gz emacs-eafc985f7ea975f86b22d9456a2f91fe5342a9ca.zip | |
; Update test for previous change
* test/lisp/progmodes/python-tests.el
(python-indent-after-backslash-4): Indent after backslash is now
python-indent-offset.
| -rw-r--r-- | test/lisp/progmodes/python-tests.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el index 9aaae396a69..be035351295 100644 --- a/test/lisp/progmodes/python-tests.el +++ b/test/lisp/progmodes/python-tests.el | |||
| @@ -745,8 +745,8 @@ with open('/path/to/some/file/you/want/to/read') as file_1, \\\\ | |||
| 745 | (python-tests-with-temp-buffer | 745 | (python-tests-with-temp-buffer |
| 746 | " | 746 | " |
| 747 | super_awful_assignment = some_calculation() and \\\\ | 747 | super_awful_assignment = some_calculation() and \\\\ |
| 748 | another_calculation() and \\\\ | 748 | another_calculation() and \\\\ |
| 749 | some_final_calculation() | 749 | some_final_calculation() |
| 750 | " | 750 | " |
| 751 | (python-tests-look-at | 751 | (python-tests-look-at |
| 752 | "super_awful_assignment = some_calculation() and \\\\") | 752 | "super_awful_assignment = some_calculation() and \\\\") |
| @@ -755,10 +755,10 @@ super_awful_assignment = some_calculation() and \\\\ | |||
| 755 | (python-tests-look-at "another_calculation() and \\\\") | 755 | (python-tests-look-at "another_calculation() and \\\\") |
| 756 | (should (eq (car (python-indent-context)) | 756 | (should (eq (car (python-indent-context)) |
| 757 | :after-backslash-assignment-continuation)) | 757 | :after-backslash-assignment-continuation)) |
| 758 | (should (= (python-indent-calculate-indentation) 25)) | 758 | (should (= (python-indent-calculate-indentation) python-indent-offset)) |
| 759 | (python-tests-look-at "some_final_calculation()") | 759 | (python-tests-look-at "some_final_calculation()") |
| 760 | (should (eq (car (python-indent-context)) :after-backslash)) | 760 | (should (eq (car (python-indent-context)) :after-backslash)) |
| 761 | (should (= (python-indent-calculate-indentation) 25)))) | 761 | (should (= (python-indent-calculate-indentation) python-indent-offset)))) |
| 762 | 762 | ||
| 763 | (ert-deftest python-indent-after-backslash-5 () | 763 | (ert-deftest python-indent-after-backslash-5 () |
| 764 | "Dotted continuation bizarre example." | 764 | "Dotted continuation bizarre example." |