aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/python/break_continue.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/python/break_continue.py')
-rw-r--r--tests/indent/python/break_continue.py9
1 files changed, 9 insertions, 0 deletions
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