diff options
author | Henrik Nord <[email protected]> | 2014-02-11 15:00:58 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2014-02-11 15:01:01 +0100 |
commit | 2079ea9e1c41b2579bc08fa1bfc53179dab50ead (patch) | |
tree | 69868512b77b0e425af82dd101e34d701829faee /lib/stdlib/test/expand_test.erl | |
parent | 264c63ecc5d6409e0498994b58eab84debbca00d (diff) | |
parent | dfb4ec804a099b539c91e5643090d8183885e71c (diff) | |
download | otp-2079ea9e1c41b2579bc08fa1bfc53179dab50ead.tar.gz otp-2079ea9e1c41b2579bc08fa1bfc53179dab50ead.tar.bz2 otp-2079ea9e1c41b2579bc08fa1bfc53179dab50ead.zip |
Merge branch 'fenollp/shell-expand-0arity-completely'
* fenollp/shell-expand-0arity-completely:
Shell: expand 0-arity functions all the way to closing parenthesis
OTP-11684
Diffstat (limited to 'lib/stdlib/test/expand_test.erl')
-rw-r--r-- | lib/stdlib/test/expand_test.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/stdlib/test/expand_test.erl b/lib/stdlib/test/expand_test.erl index 63e4bc3aa0..b9db32c352 100644 --- a/lib/stdlib/test/expand_test.erl +++ b/lib/stdlib/test/expand_test.erl @@ -20,7 +20,8 @@ -export([a_fun_name/1, a_less_fun_name/1, - b_comes_after_a/1]). + b_comes_after_a/1, + expand0arity_entirely/0]). a_fun_name(X) -> X. @@ -30,3 +31,6 @@ a_less_fun_name(X) -> b_comes_after_a(X) -> X. + +expand0arity_entirely () -> + ok. |