tests: remove placeholders for arguments

This commit is contained in:
tokyo4j 2025-10-16 06:27:20 +09:00 committed by Hiroaki Yamamoto
parent 7f67b9c866
commit be44991def
3 changed files with 0 additions and 10 deletions

View file

@ -12,8 +12,6 @@
static void
test_expand_title(void **state)
{
(void)state;
struct buf s = BUF_INIT;
char TEMPLATE[] = "foo ~/bar";
@ -58,8 +56,6 @@ test_expand_title(void **state)
static void
test_buf_add_fmt(void **state)
{
(void)state;
struct buf s = BUF_INIT;
buf_add(&s, "foo");
@ -72,8 +68,6 @@ test_buf_add_fmt(void **state)
static void
test_buf_add_char(void **state)
{
(void)state;
const char long_string[] = "123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890";
size_t len = strlen(long_string);

View file

@ -11,8 +11,6 @@
static void
test_str_starts_with(void **state)
{
(void)state;
assert_true(str_starts_with(" foo", 'f', " \t\r\n"));
assert_true(str_starts_with("f", 'f', " \t\r\n"));
assert_false(str_starts_with(" foo", '<', " "));

View file

@ -100,8 +100,6 @@ struct test_case {
static void
test_lab_xml_expand_dotted_attributes(void **state)
{
(void)state;
for (size_t i = 0; i < ARRAY_SIZE(test_cases); i++) {
xmlDoc *doc = xmlReadDoc((xmlChar *)test_cases[i].before,
NULL, NULL, 0);