aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-11-02 10:21:31 +0100
committerBjörn Gustavsson <[email protected]>2011-11-29 14:08:41 +0100
commite1f68b26c432a6ad873da8c1460d423861eaedc7 (patch)
treecd013fe90b9d820212b2c4811840fc5d848a89b6 /lib
parent756c7af6cae1e47dfb96ae299a96a7f940938bed (diff)
downloadotp-e1f68b26c432a6ad873da8c1460d423861eaedc7.tar.gz
otp-e1f68b26c432a6ad873da8c1460d423861eaedc7.tar.bz2
otp-e1f68b26c432a6ad873da8c1460d423861eaedc7.zip
mnesia tests: Eliminate use of tuple fun
Diffstat (limited to 'lib')
-rw-r--r--lib/mnesia/test/mnesia_evil_coverage_test.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mnesia/test/mnesia_evil_coverage_test.erl b/lib/mnesia/test/mnesia_evil_coverage_test.erl
index 17d6c6c212..c1918071a1 100644
--- a/lib/mnesia/test/mnesia_evil_coverage_test.erl
+++ b/lib/mnesia/test/mnesia_evil_coverage_test.erl
@@ -244,7 +244,7 @@ db_node_lifecycle(Config) when is_list(Config) ->
?match([], mnesia_test_lib:start_mnesia(AllNodes)),
?match([SNs, SNs, SNs],
- lists:map({lists, sort},
+ lists:map(fun lists:sort/1,
element(1, rpc:multicall(AllNodes, mnesia, table_info,
[schema, disc_copies])))),
@@ -259,7 +259,7 @@ db_node_lifecycle(Config) when is_list(Config) ->
mnesia:change_table_copy_type(schema, Node2, disc_copies)),
?match([SNs, SNs, SNs],
- lists:map({lists, sort},
+ lists:map(fun lists:sort/1,
element(1, rpc:multicall(AllNodes, mnesia, table_info,
[schema, disc_copies])))),