aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/emacs/test.erl.indented
diff options
context:
space:
mode:
authorZandra Hird <[email protected]>2015-04-21 14:03:05 +0200
committerZandra Hird <[email protected]>2015-04-21 14:03:05 +0200
commit3e13d3a9d8b21a9d2b480e2571b26cfcd1d41303 (patch)
tree948007269a4988497c9c259dab34b41bbeb7c161 /lib/tools/emacs/test.erl.indented
parent40572e1bab65a70c6034827f6ec667f3f79f144d (diff)
parent6b6f1504ab0624322a116a32eed141453b07d0e3 (diff)
downloadotp-3e13d3a9d8b21a9d2b480e2571b26cfcd1d41303.tar.gz
otp-3e13d3a9d8b21a9d2b480e2571b26cfcd1d41303.tar.bz2
otp-3e13d3a9d8b21a9d2b480e2571b26cfcd1d41303.zip
Merge branch 'vinoski/minor-erlang-el-fixes'
* vinoski/minor-erlang-el-fixes: Minor fixes to emacs erlang-mode
Diffstat (limited to 'lib/tools/emacs/test.erl.indented')
-rw-r--r--lib/tools/emacs/test.erl.indented8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/tools/emacs/test.erl.indented b/lib/tools/emacs/test.erl.indented
index 1c1086ca58..abb05fd59b 100644
--- a/lib/tools/emacs/test.erl.indented
+++ b/lib/tools/emacs/test.erl.indented
@@ -32,6 +32,14 @@
-module(test).
-compile(export_all).
+%% Used to cause an "Unbalanced parentheses" error.
+foo(M) ->
+ M#{a :=<<"a">>
+ ,b:=1}.
+foo() ->
+ #{a =><<"a">>
+ ,b=>1}.
+
%% Module attributes should be highlighted
-export([t/1]).