aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-10-31 14:40:29 +0100
committerBjörn Gustavsson <[email protected]>2011-11-29 14:08:40 +0100
commitab4b10b865980bc9d68b0db9f956855ee9017766 (patch)
treefffc949baea62455a35b5739ecfb115e9dfe2926 /lib/kernel
parentea35b304297f28721a0990c2421b935399623b7f (diff)
downloadotp-ab4b10b865980bc9d68b0db9f956855ee9017766.tar.gz
otp-ab4b10b865980bc9d68b0db9f956855ee9017766.tar.bz2
otp-ab4b10b865980bc9d68b0db9f956855ee9017766.zip
file_SUITE: Eliminate use of tuple fun
Diffstat (limited to 'lib/kernel')
-rw-r--r--lib/kernel/test/file_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/test/file_SUITE.erl b/lib/kernel/test/file_SUITE.erl
index 77fc7e73f9..85346762ac 100644
--- a/lib/kernel/test/file_SUITE.erl
+++ b/lib/kernel/test/file_SUITE.erl
@@ -3144,12 +3144,12 @@ ipread_int(Dir, ModeList) ->
{fun (Bin) when is_binary(Bin) -> Bin;
(List) when is_list(List) -> list_to_binary(List)
end,
- {erlang, size}};
+ fun erlang:byte_size/1};
false ->
{fun (Bin) when is_binary(Bin) -> binary_to_list(Bin);
(List) when is_list(List) -> List
end,
- {erlang, length}}
+ fun erlang:length/1}
end,
?line Pos = 4711,
?line Data = Conv("THE QUICK BROWN FOX JUMPS OVER A LAZY DOG"),