From c9ef5e58f7d59aba875324825ff47900d0be61f2 Mon Sep 17 00:00:00 2001 From: Pham Huy Hoang Date: Sat, 25 Mar 2023 09:51:41 +0900 Subject: feat(python): add break/continue dedent --- tests/indent/python/break_continue.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/indent/python/break_continue.py (limited to 'tests/indent/python/break_continue.py') diff --git a/tests/indent/python/break_continue.py b/tests/indent/python/break_continue.py new file mode 100644 index 000000000..aabd677f8 --- /dev/null +++ b/tests/indent/python/break_continue.py @@ -0,0 +1,9 @@ +def f(): + for x in range(1, 2): + if x == 1: + break + +def f(): + for x in range(1, 2): + if x == 1: + continue