test: update write_string function references
This commit is contained in:
+3
-3
@@ -29,9 +29,9 @@ int main(void)
|
||||
fx_string_unref(str);
|
||||
|
||||
fx_stringstream *strv = fx_stringstream_create();
|
||||
fx_stream_write_string(strv, "Hello", NULL);
|
||||
fx_stream_write_string(strv, ", world", NULL);
|
||||
fx_stream_write_string(strv, "!", NULL);
|
||||
fx_stream_write_cstr(strv, "Hello", NULL);
|
||||
fx_stream_write_cstr(strv, ", world", NULL);
|
||||
fx_stream_write_cstr(strv, "!", NULL);
|
||||
|
||||
char *s = fx_stringstream_steal(strv);
|
||||
fx_stringstream_unref(strv);
|
||||
|
||||
Reference in New Issue
Block a user