aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/testMegaco.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-03-10 07:32:19 +0100
committerBjörn Gustavsson <[email protected]>2010-03-11 10:26:48 +0100
commit44cc5dfcbea91ef419c55a70c67c87b3a44e7a79 (patch)
tree17d04199de37685bfc686cdf7152b93591f4e2b9 /lib/asn1/test/testMegaco.erl
parentc5dff500f4ae51fc2182b1646538e54129e63c37 (diff)
downloadotp-44cc5dfcbea91ef419c55a70c67c87b3a44e7a79.tar.gz
otp-44cc5dfcbea91ef419c55a70c67c87b3a44e7a79.tar.bz2
otp-44cc5dfcbea91ef419c55a70c67c87b3a44e7a79.zip
asn1 tests: Modernize guard tests
Diffstat (limited to 'lib/asn1/test/testMegaco.erl')
-rw-r--r--lib/asn1/test/testMegaco.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asn1/test/testMegaco.erl b/lib/asn1/test/testMegaco.erl
index 094e2d9e5c..48c1361965 100644
--- a/lib/asn1/test/testMegaco.erl
+++ b/lib/asn1/test/testMegaco.erl
@@ -163,7 +163,7 @@ read_msg(File) ->
end.
-request(Mid, TransId, ContextId, CmdReq) when list(CmdReq) ->
+request(Mid, TransId, ContextId, CmdReq) when is_list(CmdReq) ->
Actions = [#'ActionRequest'{contextId = ContextId,
commandRequests = CmdReq}],
Req = {transactions,