aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/compilation_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-02-25 15:56:52 +0100
committerBjörn Gustavsson <[email protected]>2016-02-25 16:07:42 +0100
commitbf4ae9bb9cc0b4ae53447aa4a7cd25add5d3a7a4 (patch)
treea744fa16124982e56e64ae87b78483667165a8d9 /lib/compiler/test/compilation_SUITE.erl
parent9d8efc5acc50ae1c76b00a67d06ed284fbcce0aa (diff)
downloadotp-bf4ae9bb9cc0b4ae53447aa4a7cd25add5d3a7a4.tar.gz
otp-bf4ae9bb9cc0b4ae53447aa4a7cd25add5d3a7a4.tar.bz2
otp-bf4ae9bb9cc0b4ae53447aa4a7cd25add5d3a7a4.zip
Replace use of lists:keysearch/3 with lists:keyfind/3
Diffstat (limited to 'lib/compiler/test/compilation_SUITE.erl')
-rw-r--r--lib/compiler/test/compilation_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/test/compilation_SUITE.erl b/lib/compiler/test/compilation_SUITE.erl
index 6c90a38f5a..ae3c5ccc20 100644
--- a/lib/compiler/test/compilation_SUITE.erl
+++ b/lib/compiler/test/compilation_SUITE.erl
@@ -394,7 +394,7 @@ vsn_3(Conf) when is_list(Conf) ->
ok.
get_vsn(M) ->
- {value, {vsn, V}} = lists:keysearch(vsn, 1, M:module_info(attributes)),
+ {vsn,V} = lists:keyfind(vsn, 1, M:module_info(attributes)),
V.
long_string(Config) when is_list(Config) ->