aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/python/match_case.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/python/match_case.py')
-rw-r--r--tests/indent/python/match_case.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/indent/python/match_case.py b/tests/indent/python/match_case.py
new file mode 100644
index 000000000..88b56af10
--- /dev/null
+++ b/tests/indent/python/match_case.py
@@ -0,0 +1,15 @@
+a = 0
+
+def test_match_case():
+ match a:
+ case 1:
+ return
+
+
+def test_match():
+ match a:
+
+
+def test_case():
+ match a:
+ case b: