aboutsummaryrefslogtreecommitdiff
path: root/tests/main.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-05-25 02:48:33 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 06:55:04 +0200
commit2f9cf2385a90920b1bcbe6cefa899f33c615e2a5 (patch)
tree7fce39645c4cb580ae4be66a6ed193612bc0d322 /tests/main.c
parentc17412cce925ce226d3835a2e59b4d9f31b5b3ed (diff)
Cleanup after finished
Diffstat (limited to 'tests/main.c')
-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);