diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/indent/c/aligned_indent.c | 10 | ||||
| -rw-r--r-- | tests/indent/c/func.c | 2 | ||||
| -rw-r--r-- | tests/indent/c/initializer_list.c | 3 | ||||
| -rw-r--r-- | tests/indent/python/aligned_indent.py | 3 |
4 files changed, 17 insertions, 1 deletions
diff --git a/tests/indent/c/aligned_indent.c b/tests/indent/c/aligned_indent.c new file mode 100644 index 000000000..75555b971 --- /dev/null +++ b/tests/indent/c/aligned_indent.c @@ -0,0 +1,10 @@ +void foo(int a, + int b, + int c); + +void foo(int a, + int b + + + + diff --git a/tests/indent/c/func.c b/tests/indent/c/func.c index c188acc01..0c1ede8e0 100644 --- a/tests/indent/c/func.c +++ b/tests/indent/c/func.c @@ -21,7 +21,7 @@ int f4( } int f5(int x, - int y) + int y) { return 1; } diff --git a/tests/indent/c/initializer_list.c b/tests/indent/c/initializer_list.c new file mode 100644 index 000000000..9bf28d946 --- /dev/null +++ b/tests/indent/c/initializer_list.c @@ -0,0 +1,3 @@ +int a[] = { + 1, 2, 3, + 4}; diff --git a/tests/indent/python/aligned_indent.py b/tests/indent/python/aligned_indent.py index 2a4b827f4..b92356740 100644 --- a/tests/indent/python/aligned_indent.py +++ b/tests/indent/python/aligned_indent.py @@ -9,3 +9,6 @@ aligned_indent(1, aligned_indent(1, 2 ) + +foodsadsa(sdada, + 2 |
