aboutsummaryrefslogtreecommitdiffstats
path: root/tests/blogc-runserver
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2019-09-02 23:38:48 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2019-09-02 23:51:15 +0200
commit4763814c683c50f8a3697b74e764f19c3dacccd5 (patch)
tree386ff43f024705a32310b882f2161b5f86d8820a /tests/blogc-runserver
parentc12bdb94ecdc44f200a8030dfde4a5ec46053ea6 (diff)
downloadblogc-4763814c683c50f8a3697b74e764f19c3dacccd5.tar.gz
blogc-4763814c683c50f8a3697b74e764f19c3dacccd5.tar.bz2
blogc-4763814c683c50f8a3697b74e764f19c3dacccd5.zip
migrate codebase to use squareball. again :)feature/squareball
Diffstat (limited to 'tests/blogc-runserver')
-rw-r--r--tests/blogc-runserver/check_httpd_utils.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/blogc-runserver/check_httpd_utils.c b/tests/blogc-runserver/check_httpd_utils.c
index 3e21e63..69c2a5b 100644
--- a/tests/blogc-runserver/check_httpd_utils.c
+++ b/tests/blogc-runserver/check_httpd_utils.c
@@ -12,7 +12,8 @@
#include <cmocka.h>
#include <stdlib.h>
#include <string.h>
-#include "../../src/common/utils.h"
+#include <squareball.h>
+
#include "../../src/blogc-runserver/httpd-utils.h"
@@ -89,7 +90,7 @@ static void
test_urldecode(void **state)
{
for (size_t i = 0; i < 128; i++) {
- char *t = bc_strdup_printf("%%%02x", i);
+ char *t = sb_strdup_printf("%%%02x", i);
char *r = br_urldecode(t);
assert_int_equal(r[0], i);
assert_int_equal(r[1], 0);