From e931c8bd772be41dc4b98bc2614eacff529af195 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Mon, 22 May 2017 12:32:04 -0400 Subject: [PATCH v2 2/3] ; Update test for previous change * test/lisp/progmodes/python-tests.el (python-indent-after-backslash-4): Indent after backslash is now python-indent-offset. --- test/lisp/progmodes/python-tests.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el index cd05710000..cea597acea 100644 --- a/test/lisp/progmodes/python-tests.el +++ b/test/lisp/progmodes/python-tests.el @@ -753,8 +753,8 @@ (ert-deftest python-indent-after-backslash-4 () (python-tests-with-temp-buffer " super_awful_assignment = some_calculation() and \\\\ - another_calculation() and \\\\ - some_final_calculation() + another_calculation() and \\\\ + some_final_calculation() " (python-tests-look-at "super_awful_assignment = some_calculation() and \\\\") @@ -763,10 +763,10 @@ (ert-deftest python-indent-after-backslash-4 () (python-tests-look-at "another_calculation() and \\\\") (should (eq (car (python-indent-context)) :after-backslash-assignment-continuation)) - (should (= (python-indent-calculate-indentation) 25)) + (should (= (python-indent-calculate-indentation) python-indent-offset)) (python-tests-look-at "some_final_calculation()") (should (eq (car (python-indent-context)) :after-backslash)) - (should (= (python-indent-calculate-indentation) 25)))) + (should (= (python-indent-calculate-indentation) python-indent-offset)))) (ert-deftest python-indent-after-backslash-5 () "Dotted continuation bizarre example." -- 2.11.1