/* Test of u8_[v]asnprintf() function.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
ASSERT (u8_strcmp (result, expected) == 0);
ASSERT (length == 5);
if (size < 6)
- ASSERT (result != buf);
+ ASSERT (result != buf);
ASSERT (u8_cmp (buf + size, initializer + size, 8 - size) == 0);
if (result != buf)
- free (result);
+ free (result);
}
}