diff options
author | lloyd <[email protected]> | 2012-07-09 16:43:21 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-07-09 16:43:21 +0000 |
commit | a73ace1185febb9a9dfa9e6ba93c883beedbd938 (patch) | |
tree | 73170167ab016e9af2346921aa9da2afd5ed25b2 /src/codec | |
parent | 4e43080954be57e362feb1cc8202bfd42117e286 (diff) |
The messages for assertion checks were done both ways, both "assertion
X is true" and "assertion X is false". Convert all of them to the form
"assertion X is true" thus making it clear what it is that we are
attempting to assert by testing the expression provided.
Diffstat (limited to 'src/codec')
-rw-r--r-- | src/codec/base64/base64.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codec/base64/base64.cpp b/src/codec/base64/base64.cpp index 719a3e8fa..b66c4f207 100644 --- a/src/codec/base64/base64.cpp +++ b/src/codec/base64/base64.cpp @@ -86,8 +86,8 @@ std::string base64_encode(const byte input[], input, input_length, consumed, true); - BOTAN_ASSERT_EQUAL(consumed, input_length, "Did not consume all input"); - BOTAN_ASSERT_EQUAL(produced, output.size(), "Did not produce right amount"); + BOTAN_ASSERT_EQUAL(consumed, input_length, "Consumed the entire input"); + BOTAN_ASSERT_EQUAL(produced, output.size(), "Produced expected size"); return output; } |