process: write unicode spaces in command line test as escapes (#2784)

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
This commit is contained in:
Jan-Otto Kröpke
2026-10-18 22:22:36 +02:00
committed by GitHub
co-authored by Claude
parent 3e8a2c6fe7
commit e2b0d1366f
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ var commandLineTests = []struct {
{"control character after program", "a \vb", []string{`a`, "\vb"}},
{"control character after quoted program", "\"a\"\vb", []string{`a`, "\vb"}},
{"control character in argument", "a b\vc\nd", []string{`a`, "b\vc\nd"}},
{"unicode spaces", "a b c d", []string{"a b", "c d"}},
{"unicode spaces", "a\u00a0b c\u3000d", []string{"a\u00a0b", "c\u3000d"}},
{"three quotes", `a """b c`, []string{`a`, `"b`, `c`}},
{"unicode", `a "Café Пул ✓ Ωμέγα" b`, []string{`a`, `Café Пул ✓ Ωμέγα`, `b`}},
{"was command line", wasCommandLine, []string{