Summary:
Added test case for eina_strbuf_string_free function in eina_strbuf module
Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2382
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
fail_if(eina_strbuf_length_get(buf) != 0);
fail_if(!strcmp(eina_strbuf_string_get(buf), TEXT));
+ eina_strbuf_string_free(buf);
+ fail_if(eina_strbuf_length_get(buf));
+ eina_strbuf_append(buf, TEXT);
+ fail_if(strcmp(eina_strbuf_string_get(buf), TEXT));
+
eina_strbuf_free(buf);
eina_shutdown();