Update file IO API

This commit is contained in:
2025-12-14 01:42:45 +00:00
parent e9aebeccbf
commit b51482057a
11 changed files with 85 additions and 87 deletions

View File

@@ -620,7 +620,7 @@ TestFuncResult test_str8_from_bytes(void) {
u8 *bytes = wapp_array(u8, 'W', 'A', 'P', 'P');
wapp_str8_from_bytes(&str, bytes);
result = str.size == wapp_array_count(u8, bytes) * wapp_array_item_size(u8, bytes);
result = str.size == wapp_array_count(bytes) * wapp_array_item_size(bytes);
result = result && wapp_str8_equal(&str, &expected);
return wapp_tester_result(result);