aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-05-02 11:09:24 +0200
committerFredrik Gustafsson <[email protected]>2013-05-02 11:09:24 +0200
commitf7c5df146f027d0dbcbcc0e41f39343b74cedfd2 (patch)
treeb1fc855d5767b32ae50c5a592bb5993d4c63f0e6 /lib/stdlib/test
parentcd14a151051567cc19dfa3677799612366060801 (diff)
parent3ac04f901ecfb3fed128759964ccc54fa4ee7b2a (diff)
downloadotp-f7c5df146f027d0dbcbcc0e41f39343b74cedfd2.tar.gz
otp-f7c5df146f027d0dbcbcc0e41f39343b74cedfd2.tar.bz2
otp-f7c5df146f027d0dbcbcc0e41f39343b74cedfd2.zip
Merge branch 'nox/lists-filtermap/OTP-11078' into maint
* nox/lists-filtermap/OTP-11078: Rename and document lists:zf/2 as lists:filtermap/2
Diffstat (limited to 'lib/stdlib/test')
-rw-r--r--lib/stdlib/test/lists_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/test/lists_SUITE.erl b/lib/stdlib/test/lists_SUITE.erl
index b56f0b39d8..cd7210f8ec 100644
--- a/lib/stdlib/test/lists_SUITE.erl
+++ b/lib/stdlib/test/lists_SUITE.erl
@@ -2532,8 +2532,8 @@ otp_5939(Config) when is_list(Config) ->
?line [] = lists:filter(Pred, []),
?line {'EXIT', _} = (catch lists:partition(func, [])),
?line {[],[]} = lists:partition(Pred, []),
- ?line {'EXIT', _} = (catch lists:zf(func, [])),
- ?line [] = lists:zf(Fun1, []),
+ ?line {'EXIT', _} = (catch lists:filtermap(func, [])),
+ ?line [] = lists:filtermap(Fun1, []),
?line {'EXIT', _} = (catch lists:foreach(func, [])),
?line ok = lists:foreach(Fun1, []),
?line {'EXIT', _} = (catch lists:mapfoldl(func, [], [])),