diff options
author | mrm <mrm@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-08 20:29:45 +0000 |
---|---|---|
committer | mrm <mrm@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-08 20:29:45 +0000 |
commit | f08b94a47c3de253f486f254abf220448d16db75 (patch) | |
tree | bec6e4310baf81f37b5199a34531dc5b11eaa7de /ASNMP/tests | |
parent | a31508aac04d7402d8f3057948267509972ded97 (diff) | |
download | ATCD-f08b94a47c3de253f486f254abf220448d16db75.tar.gz |
Eric Newton fixes
Diffstat (limited to 'ASNMP/tests')
-rw-r--r-- | ASNMP/tests/Octet_Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ASNMP/tests/Octet_Test.cpp b/ASNMP/tests/Octet_Test.cpp index d5dd7a9d440..618893e57dd 100644 --- a/ASNMP/tests/Octet_Test.cpp +++ b/ASNMP/tests/Octet_Test.cpp @@ -89,9 +89,9 @@ static void TestOctet() { char *str = "A test of octet strings...!@@#$%^&*()_+|~{}:,./<>?"; OctetStr o1; - ACE_ASSERT(o1.valid() == 0); + ACE_ASSERT(o1.valid() == 1); ACE_ASSERT(o1.length() == 0); - ACE_ASSERT(o1.data() == (unsigned char *)0); + ACE_ASSERT(o1.data() != (unsigned char *)0); ACE_DEBUG ((LM_DEBUG, "(%P|%t) Octet:o1(\"\") [%s]\n", o1.to_string())); o1.set_data((SmiBYTE *)str); |