Skip to content

Commit

Permalink
test_tag.c: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Lihis committed Nov 2, 2023
1 parent db64977 commit 1e8a372
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/test_tag.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ static void test_tag_unescape(void **data)
{
char *unscaped = NULL;

ASSERT_TAG_UNSESCAPED ("\\:", ";");
ASSERT_TAG_UNSESCAPED ("\\s", " ");
ASSERT_TAG_UNSESCAPED ("\\\\", "\\");
ASSERT_TAG_UNSESCAPED ("\\r", "\r");
ASSERT_TAG_UNSESCAPED ("\\n", "\n");
ASSERT_TAG_UNSESCAPED ("test", "test");
ASSERT_TAG_UNSESCAPED ("test\\", "test");
ASSERT_TAG_UNSESCAPED ("test\\b", "testb");
ASSERT_TAG_UNSESCAPED ("\\:\\s\\\\\\r\\n", "; \\\r\n");
ASSERT_TAG_UNSESCAPED("\\:", ";");
ASSERT_TAG_UNSESCAPED("\\s", " ");
ASSERT_TAG_UNSESCAPED("\\\\", "\\");
ASSERT_TAG_UNSESCAPED("\\r", "\r");
ASSERT_TAG_UNSESCAPED("\\n", "\n");
ASSERT_TAG_UNSESCAPED("test", "test");
ASSERT_TAG_UNSESCAPED("test\\", "test");
ASSERT_TAG_UNSESCAPED("test\\b", "testb");
ASSERT_TAG_UNSESCAPED("\\:\\s\\\\\\r\\n", "; \\\r\n");
}

#define ASSERT_TAG_ESCAPED(STR, EXPECTED) \
Expand Down

0 comments on commit 1e8a372

Please sign in to comment.