aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/test
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2016-05-24 15:12:36 +0200
committerAnders Svensson <[email protected]>2016-05-30 08:54:41 +0200
commitf83a883cbf448d2136fe716c5a318915d1e6eecc (patch)
tree85e6c91a17a39bd926518fddbb28f27f4ef65ef6 /lib/diameter/test
parent5809199289664e30df9ae418efb4df9bc9d73cd4 (diff)
downloadotp-f83a883cbf448d2136fe716c5a318915d1e6eecc.tar.gz
otp-f83a883cbf448d2136fe716c5a318915d1e6eecc.tar.bz2
otp-f83a883cbf448d2136fe716c5a318915d1e6eecc.zip
Rename diameter_reg:del -> remove
Letters are cheap.
Diffstat (limited to 'lib/diameter/test')
-rw-r--r--lib/diameter/test/diameter_reg_SUITE.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/diameter/test/diameter_reg_SUITE.erl b/lib/diameter/test/diameter_reg_SUITE.erl
index 0092553191..e2a1ca00c3 100644
--- a/lib/diameter/test/diameter_reg_SUITE.erl
+++ b/lib/diameter/test/diameter_reg_SUITE.erl
@@ -33,7 +33,7 @@
%% testcases
-export([add/1,
add_new/1,
- del/1,
+ remove/1,
terms/1,
pids/1]).
@@ -55,7 +55,7 @@ groups() ->
tc() ->
[add,
add_new,
- del,
+ remove,
terms,
pids].
@@ -80,11 +80,11 @@ add_new(_) ->
true = ?reg:add_new(Ref),
false = ?reg:add_new(Ref).
-del(_) ->
+remove(_) ->
Ref = make_ref(),
true = ?reg:add_new(Ref),
true = ?reg:add_new({Ref}),
- true = ?reg:del({Ref}),
+ true = ?reg:remove({Ref}),
[{Ref, Pid}] = ?reg:match(Ref),
Pid = self().