mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 09:16:11 +03:00
fix: escape characters in shell escape test
This commit is contained in:
@ -102,5 +102,5 @@ test "shell escape 7" {
|
|||||||
var shell: ShellEscapeWriter(@TypeOf(fmt).Writer) = .{ .child_writer = fmt.writer() };
|
var shell: ShellEscapeWriter(@TypeOf(fmt).Writer) = .{ .child_writer = fmt.writer() };
|
||||||
const writer = shell.writer();
|
const writer = shell.writer();
|
||||||
try writer.writeAll("a(1)");
|
try writer.writeAll("a(1)");
|
||||||
try testing.expectEqualStrings("a\(1\)", fmt.getWritten());
|
try testing.expectEqualStrings("a\\(1\\)", fmt.getWritten());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user