aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/test
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2018-01-10 12:59:20 +0100
committerDan Gudmundsson <[email protected]>2018-03-01 14:39:50 +0100
commitf0a74dfbaf87f65f6fe7f63fa63965a35fa30faa (patch)
tree4360c621d96a35ed7ec30dff4375d4b8b78b9666 /lib/tools/test
parente57a6ec75ed99d4695fb8fcd31dd625483951687 (diff)
downloadotp-f0a74dfbaf87f65f6fe7f63fa63965a35fa30faa.tar.gz
otp-f0a74dfbaf87f65f6fe7f63fa63965a35fa30faa.tar.bz2
otp-f0a74dfbaf87f65f6fe7f63fa63965a35fa30faa.zip
emacs: Indent delimiter first in term elements correctly
Diffstat (limited to 'lib/tools/test')
-rw-r--r--lib/tools/test/emacs_SUITE_data/funcs5
-rw-r--r--lib/tools/test/emacs_SUITE_data/terms13
2 files changed, 16 insertions, 2 deletions
diff --git a/lib/tools/test/emacs_SUITE_data/funcs b/lib/tools/test/emacs_SUITE_data/funcs
index b0c9716f0e..f2c9f44524 100644
--- a/lib/tools/test/emacs_SUITE_data/funcs
+++ b/lib/tools/test/emacs_SUITE_data/funcs
@@ -43,6 +43,11 @@ func4(A1
) ->
ok.
+func5(
+ A41
+ ,A42) ->
+ ok.
+
a_function_with_a_very_very_long_name() ->
A00 = #record{
field1=1,
diff --git a/lib/tools/test/emacs_SUITE_data/terms b/lib/tools/test/emacs_SUITE_data/terms
index 02b2d665fd..352364a73c 100644
--- a/lib/tools/test/emacs_SUITE_data/terms
+++ b/lib/tools/test/emacs_SUITE_data/terms
@@ -64,7 +64,11 @@ binary(3) ->
binary(4) ->
<<
1:8
- ,2:8
+ ,2:8
+ >>;
+binary(5) ->
+ << 1:8
+ , 2:8
>>.
record(1) ->
@@ -84,7 +88,12 @@ record(4) ->
#record{
a=1
,b=2
- }.
+ };
+record(Record) ->
+ Record#record{
+ a=1
+ ,b=2
+ }.
map(1) ->
#{a=>1,