diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-06-20 08:48:09 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-06-20 08:48:09 -0400 |
commit | 6cedd4932352929496d8e017500362fafd367f18 (patch) | |
tree | 3f15189a3be369c561f3bdef0d7b7ede1dc6f273 /src/test/test_util_format.c | |
parent | 1160ac1283a076acc6c660827ebeb84a111f27cc (diff) | |
parent | 568dc27a1943305f6e11a9a497f56a6aabe27c99 (diff) | |
download | tor-6cedd4932352929496d8e017500362fafd367f18.tar.gz tor-6cedd4932352929496d8e017500362fafd367f18.zip |
Merge branch 'bug14013_029_01_squashed'
Diffstat (limited to 'src/test/test_util_format.c')
-rw-r--r-- | src/test/test_util_format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_util_format.c b/src/test/test_util_format.c index c441037178..ad2ca317bd 100644 --- a/src/test/test_util_format.c +++ b/src/test/test_util_format.c @@ -270,7 +270,7 @@ test_util_format_base16_decode(void *ignored) tt_int_op(res, OP_EQ, 0); res = base16_decode(dst, 1000, "aabc", 4); - tt_int_op(res, OP_EQ, 0); + tt_int_op(res, OP_EQ, 2); tt_mem_op(dst, OP_EQ, "\xaa\xbc", 2); res = base16_decode(dst, 1000, "aabcd", 6); @@ -280,7 +280,7 @@ test_util_format_base16_decode(void *ignored) tt_int_op(res, OP_EQ, -1); res = base16_decode(real_dst, 10, real_src, 14); - tt_int_op(res, OP_EQ, 0); + tt_int_op(res, OP_EQ, 7); tt_mem_op(real_dst, OP_EQ, expected, 7); done: |