From 1ffa01985651f6a5ba88d01e56f09cb76ff6e79a Mon Sep 17 00:00:00 2001 From: Pham Huy Hoang Date: Sat, 25 Mar 2023 09:29:32 +0900 Subject: feat(python): add match-case indents --- tests/indent/python/match_case.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/indent/python/match_case.py (limited to 'tests/indent/python/match_case.py') 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: -- cgit v1.2.3-70-g09d2