diff options
author | Patrik Nyblom <[email protected]> | 2010-04-30 18:17:17 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-05-17 15:51:50 +0200 |
commit | ccf8728a95af72aa4847e0844d45dcda991ea435 (patch) | |
tree | 1e52543c81f70ba659593b11a6a0918ea95f490f /lib/stdlib/test/binref.erl | |
parent | 8f21d4026e8f338245812d6edfd113c05282e321 (diff) | |
download | otp-ccf8728a95af72aa4847e0844d45dcda991ea435.tar.gz otp-ccf8728a95af72aa4847e0844d45dcda991ea435.tar.bz2 otp-ccf8728a95af72aa4847e0844d45dcda991ea435.zip |
Add binary:{encode,decode}_unsigned({1,2}
Add testcases for encode/decode_unsigned/1,2.
Diffstat (limited to 'lib/stdlib/test/binref.erl')
-rw-r--r-- | lib/stdlib/test/binref.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/test/binref.erl b/lib/stdlib/test/binref.erl index 2322d036a2..af79c8fa09 100644 --- a/lib/stdlib/test/binref.erl +++ b/lib/stdlib/test/binref.erl @@ -517,7 +517,7 @@ decode_unsigned(Subject) -> decode_unsigned(Subject,Endian) -> try - true = is_binary(Subject) and (byte_size(Subject) > 0), + true = is_binary(Subject), case Endian of big -> do_decode(Subject,0); |