From 7c5dcc1cdef10e1c1b9ead9277efc55e0d694980 Mon Sep 17 00:00:00 2001 From: kayomn Date: Tue, 25 Oct 2022 01:02:01 +0100 Subject: [PATCH] Fix typo in OAR unit test --- src/oar/main.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }