aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/ExpandTestCaps1.erl
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2010-01-20 07:12:57 +0000
committerErlang/OTP <[email protected]>2010-01-20 07:12:57 +0000
commitfcff652f0fc9d19157e6f72f2c864533bf0c0d28 (patch)
treef667a33ba496f9d3220a21a86934b5d8a827f96d /lib/stdlib/test/ExpandTestCaps1.erl
parent9bf84f381797df7411335fed11ee83886b09514f (diff)
parent1c3a6c89c4f8d25dc0a3f71f4967ad80729cdbfe (diff)
downloadotp-fcff652f0fc9d19157e6f72f2c864533bf0c0d28.tar.gz
otp-fcff652f0fc9d19157e6f72f2c864533bf0c0d28.tar.bz2
otp-fcff652f0fc9d19157e6f72f2c864533bf0c0d28.zip
Merge branch 'uw/shell-tab-completion' into ccase/r13b04_dev
* uw/shell-tab-completion: Shell tab completion now works for quoted module and function names OTP-8383 Shell tab completion now works for quoted module and function names. (Thanks to Ulf Wiger.)
Diffstat (limited to 'lib/stdlib/test/ExpandTestCaps1.erl')
-rw-r--r--lib/stdlib/test/ExpandTestCaps1.erl44
1 files changed, 44 insertions, 0 deletions
diff --git a/lib/stdlib/test/ExpandTestCaps1.erl b/lib/stdlib/test/ExpandTestCaps1.erl
new file mode 100644
index 0000000000..09ee9f81c4
--- /dev/null
+++ b/lib/stdlib/test/ExpandTestCaps1.erl
@@ -0,0 +1,44 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2010. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%%
+-module('ExpandTestCaps1').
+
+-export([a_fun_name/1,
+ a_less_fun_name/1,
+ b_comes_after_a/1,
+ 'Quoted_fun_name'/0,
+ 'Quoted_fun_too'/0,
+ '#weird-fun-name'/0]).
+
+a_fun_name(X) ->
+ X.
+
+a_less_fun_name(X) ->
+ X.
+
+b_comes_after_a(X) ->
+ X.
+
+'Quoted_fun_name'() ->
+ whoopee.
+
+'Quoted_fun_too'() ->
+ too.
+
+'#weird-fun-name'() ->
+ weird.