diff options
author | Hans Bolinder <[email protected]> | 2015-11-27 14:38:53 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-02-17 12:58:19 +0100 |
commit | 4854065a042ec1812705dec6ec420bb395854a3a (patch) | |
tree | 8c8148e2971d99775ddeb61f2c267496051c4ddc /lib/stdlib/test/shell_SUITE.erl | |
parent | 173b217a37fbb7439857a833d25ea0703e97ea2b (diff) | |
download | otp-4854065a042ec1812705dec6ec420bb395854a3a.tar.gz otp-4854065a042ec1812705dec6ec420bb395854a3a.tar.bz2 otp-4854065a042ec1812705dec6ec420bb395854a3a.zip |
stdlib: Update module shell to handle typed record fields
Diffstat (limited to 'lib/stdlib/test/shell_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/shell_SUITE.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/stdlib/test/shell_SUITE.erl b/lib/stdlib/test/shell_SUITE.erl index a9dd6b5817..3fb1a5572d 100644 --- a/lib/stdlib/test/shell_SUITE.erl +++ b/lib/stdlib/test/shell_SUITE.erl @@ -393,7 +393,9 @@ records(Config) when is_list(Config) -> Test = filename:join(?config(priv_dir, Config), "test.erl"), Contents = <<"-module(test). - -record(state, {bin, reply, leader}). + -record(state, {bin :: binary(), + reply = no, + leader = some :: atom()}). -ifdef(test1). -record(test1, {f}). |