From 47291ae1ac71e595cb1571b1245c58e943aaffd7 Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Fri, 25 Sep 2026 22:34:06 -0400 Subject: [PATCH] Runner: ignore path separator differences This seems like a compiler inconsistency. --- test/src/Runner.zig | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/src/Runner.zig b/test/src/Runner.zig index 0cd77d82842f48aa12c38efea80589b524206473..d993f75e657c428b141e58f03a3ebccca12bf5a8 100644 --- a/test/src/Runner.zig +++ b/test/src/Runner.zig @@ -859,10 +859,9 @@ fn handleCommand( .include_source_line = false, .include_log_text = true, }, &error_aw.writer); - std.testing.expectEqualStrings( - expected, - error_aw.written(), - ) catch |err| switch (err) { + const actual = error_aw.written(); + std.mem.replaceScalar(u8, actual, '\\', '/'); + std.testing.expectEqualStrings(expected, actual) catch |err| switch (err) { error.TestExpectedEqual => return runner.fail( "errors did not match expected", .{}, -- 2.54.0