diff options
author | Björn Gustavsson <[email protected]> | 2011-11-02 10:21:31 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-11-29 14:08:41 +0100 |
commit | e1f68b26c432a6ad873da8c1460d423861eaedc7 (patch) | |
tree | cd013fe90b9d820212b2c4811840fc5d848a89b6 /lib | |
parent | 756c7af6cae1e47dfb96ae299a96a7f940938bed (diff) | |
download | otp-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.erl | 4 |
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])))), |