mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03:00
Rewrite str2wcstring to properly handle embedded nulls, and be simpler
This commit is contained in:
@@ -284,7 +284,6 @@ static void test_convert()
|
||||
/* Verify correct behavior with embedded nulls */
|
||||
static void test_convert_nulls(void)
|
||||
{
|
||||
return;
|
||||
say(L"Testing embedded nulls in string conversion");
|
||||
const wchar_t in[] = L"AAA\0BBB";
|
||||
const size_t in_len = (sizeof in / sizeof *in) - 1;
|
||||
|
||||
Reference in New Issue
Block a user