aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/main.c b/tests/main.c
index eb1abc7..5b697a9 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -24,8 +24,7 @@ static void result_callback(QuickMediaHtmlNode *node, void *userdata) {
printf("a href: %s, node value: %.*s\n", href, text.size, text.data);
}
-int main(int argc, char **argv)
-{
+int main(int argc, char **argv) {
char *file_content = get_file_content("test_files/test.html");
int result = quickmedia_html_find_nodes_xpath(file_content, "//h3[class=\"story_name\"]//a", result_callback, NULL);
free(file_content);