summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test4-main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test4-main.c b/tests/test4-main.c
index 4dc7ca4..3733ad5 100644
--- a/tests/test4-main.c
+++ b/tests/test4-main.c
@@ -152,8 +152,8 @@ test_cr_declaration_parse (void)
guchar * tmp_str = NULL ;
CRDeclaration * decl = NULL ;
- decl = cr_declaration_parse (NULL, gv_decl_buf,
- CR_UTF_8) ;
+ decl = cr_declaration_parse_from_buf (NULL, gv_decl_buf,
+ CR_UTF_8) ;
tmp_str = cr_declaration_to_string (decl, 2) ;
if (decl)