diff options
author | Björn Gustavsson <[email protected]> | 2010-03-10 07:32:19 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-03-11 10:26:48 +0100 |
commit | 44cc5dfcbea91ef419c55a70c67c87b3a44e7a79 (patch) | |
tree | 17d04199de37685bfc686cdf7152b93591f4e2b9 /lib/asn1/test/testPrimStrings.erl | |
parent | c5dff500f4ae51fc2182b1646538e54129e63c37 (diff) | |
download | otp-44cc5dfcbea91ef419c55a70c67c87b3a44e7a79.tar.gz otp-44cc5dfcbea91ef419c55a70c67c87b3a44e7a79.tar.bz2 otp-44cc5dfcbea91ef419c55a70c67c87b3a44e7a79.zip |
asn1 tests: Modernize guard tests
Diffstat (limited to 'lib/asn1/test/testPrimStrings.erl')
-rw-r--r-- | lib/asn1/test/testPrimStrings.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asn1/test/testPrimStrings.erl b/lib/asn1/test/testPrimStrings.erl index 2ab4f0817f..ed55cce45d 100644 --- a/lib/asn1/test/testPrimStrings.erl +++ b/lib/asn1/test/testPrimStrings.erl @@ -930,7 +930,7 @@ utf8_string(_Rules) -> ?line {ok,Bin13} = asn1_wrapper:decode('PrimStrings','UTF',Bytes13), ?line {ok,LongVal} = wrapper_utf8_binary_to_list(Bin13). -wrapper_utf8_binary_to_list(L) when list(L) -> +wrapper_utf8_binary_to_list(L) when is_list(L) -> asn1rt:utf8_binary_to_list(list_to_binary(L)); wrapper_utf8_binary_to_list(B) -> asn1rt:utf8_binary_to_list(B). |