diff options
author | Björn Gustavsson <bjorn@erlang.org> | 2016-02-25 15:56:52 +0100 |
---|---|---|
committer | Björn Gustavsson <bjorn@erlang.org> | 2016-02-25 16:07:42 +0100 |
commit | bf4ae9bb9cc0b4ae53447aa4a7cd25add5d3a7a4 (patch) | |
tree | a744fa16124982e56e64ae87b78483667165a8d9 /lib/compiler/test/test_lib.erl | |
parent | 9d8efc5acc50ae1c76b00a67d06ed284fbcce0aa (diff) | |
download | erlang-bf4ae9bb9cc0b4ae53447aa4a7cd25add5d3a7a4.tar.gz |
Replace use of lists:keysearch/3 with lists:keyfind/3
Diffstat (limited to 'lib/compiler/test/test_lib.erl')
-rw-r--r-- | lib/compiler/test/test_lib.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/test/test_lib.erl b/lib/compiler/test/test_lib.erl index 6a0237373a..3ca93fb021 100644 --- a/lib/compiler/test/test_lib.erl +++ b/lib/compiler/test/test_lib.erl @@ -66,7 +66,7 @@ uniq() -> opt_opts(Mod) -> Comp = Mod:module_info(compile), - {value,{options,Opts}} = lists:keysearch(options, 1, Comp), + {options,Opts} = lists:keyfind(options, 1, Comp), lists:filter(fun(no_copt) -> true; (no_postopt) -> true; (no_float_opt) -> true; |