From 67f2c7149c0de39248f1bdeba1a4303b156c3199 Mon Sep 17 00:00:00 2001 From: Jędrzej Boczar Date: Sat, 13 Mar 2021 22:46:45 +0100 Subject: Initial sketch of automated indent tests --- lua/tests/indent/python/branches.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lua/tests/indent/python/branches.py (limited to 'lua/tests/indent/python/branches.py') diff --git a/lua/tests/indent/python/branches.py b/lua/tests/indent/python/branches.py new file mode 100644 index 000000000..7ce106bd7 --- /dev/null +++ b/lua/tests/indent/python/branches.py @@ -0,0 +1,27 @@ +a = [ + 1, 2, 3] + +b = [ + x + 1 + for x in range(3)] + +c = [[[ + 1 +]]] + +d = [[[ + 4]]] + +e = [[ + 1], 2, 3] + +def foo(x, y): + pass + +foo( + a, + b) + +if (a and + b): + pass -- cgit v1.2.3-70-g09d2