diff --git a/src/oar/main.zig b/src/oar/main.zig index 99066ae..cd40b67 100644 --- a/src/oar/main.zig +++ b/src/oar/main.zig @@ -155,7 +155,7 @@ test "Path" { const joined_component_path = try Path.joined(&.{"path", "to/my", "/file"}); const joined_normalized_path = try Path.joined(&.{"path/to/my/file"}); - try testing.expectEqual(empty_path.length, joined_normalized_path.length); + try testing.expectEqual(joined_component_path.length, joined_normalized_path.length); try testing.expect(joined_component_path.equals(joined_normalized_path)); }