[test-serialize] Assert len
This commit is contained in:
parent
76c6f4164f
commit
6c09a8b5b0
|
@ -44,7 +44,7 @@ main (int argc, char **argv)
|
||||||
s.end_serialize ();
|
s.end_serialize ();
|
||||||
|
|
||||||
hb_bytes_t bytes = s.copy_bytes ();
|
hb_bytes_t bytes = s.copy_bytes ();
|
||||||
printf ("serialized %u bytes\n", bytes.length);
|
assert (bytes.length == 10);
|
||||||
bytes.fini ();
|
bytes.fini ();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue