diff options
author | Anders Svensson <[email protected]> | 2016-05-24 15:12:36 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2016-05-30 08:54:41 +0200 |
commit | f83a883cbf448d2136fe716c5a318915d1e6eecc (patch) | |
tree | 85e6c91a17a39bd926518fddbb28f27f4ef65ef6 /lib/diameter/test | |
parent | 5809199289664e30df9ae418efb4df9bc9d73cd4 (diff) | |
download | otp-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.erl | 8 |
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(). |