| ... | @@ -134,7 +134,7 @@ test { | ... | @@ -134,7 +134,7 @@ test { |
| 134 | var repo: git.Repository = .init(git_dir, gpa); | 134 | var repo: git.Repository = .init(git_dir, gpa); |
| 135 | defer repo.deinit(); | 135 | defer repo.deinit(); |
| 136 | const t = try repo.getTreeA(alloc, "5403fecad0fde9120535321f222a061abc2849d9"); | 136 | const t = try repo.getTreeA(alloc, "5403fecad0fde9120535321f222a061abc2849d9"); |
| 137 | // TODO: test fields when we upgrade to 0.14 and have decl literals | 137 | // TODO: std.testing.expectEqualSlices does ptr equality |
| 138 | // try expect(try extras.mapBy(alloc, t.children, .id)).toEqualSlice(&.{ | 138 | // try expect(try extras.mapBy(alloc, t.children, .id)).toEqualSlice(&.{ |
| 139 | // .{ .blob = .{ .id = "8e8d2ceba4b327ce9db93f988492d0e21a461012" } }, | 139 | // .{ .blob = .{ .id = "8e8d2ceba4b327ce9db93f988492d0e21a461012" } }, |
| 140 | // .{ .blob = .{ .id = "bb2a57bd81d13975f2a74ae5dd0e652de07bb8a7" } }, | 140 | // .{ .blob = .{ .id = "bb2a57bd81d13975f2a74ae5dd0e652de07bb8a7" } }, |