diff options
Diffstat (limited to 'ASNMP/tests/Octet_Test.cpp')
-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); |