mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
tests: remove placeholders for arguments
This commit is contained in:
parent
7f67b9c866
commit
be44991def
3 changed files with 0 additions and 10 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
2
t/str.c
2
t/str.c
|
|
@ -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", '<', " "));
|
||||
|
|
|
|||
2
t/xml.c
2
t/xml.c
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue