test: update write_string function references

This commit is contained in:
2026-04-20 22:05:42 +01:00
parent 5646c8c2b8
commit cb39baa233
3 changed files with 38 additions and 38 deletions
+3 -3
View File
@@ -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);