src/test/str.c
changeset 171 b54f393c3df0
parent 168 a58ad50911fc
equal deleted inserted replaced
170:1b2f28e26eef 171:b54f393c3df0
     1 /**
     1 /**
     2  * @file
     2  * @file
     3  *
     3  *
     4  * Test functions for the str module.
     4  * Test functions for the str module.
     5  */
     5  */
     6 #include "assert.h"
     6 #include "test.h"
       
     7 
       
     8 #include "../str.h"
     7 
     9 
     8 void assert_str_quote (size_t buf_size, const char *data, ssize_t len, const char *target, size_t out)
    10 void assert_str_quote (size_t buf_size, const char *data, ssize_t len, const char *target, size_t out)
     9 {
    11 {
    10     char buf[buf_size];
    12     char buf[buf_size];
    11     
    13