feat: refactor files module: platform abstractions, filesystem error
handling
This commit is contained in:
@@ -449,7 +449,7 @@ test "UploadManager.init creates manager with correct state" {
|
||||
|
||||
try testing.expectEqual(@as(?[]const u8, null), manager.file_path);
|
||||
try testing.expectEqual(@as(u64, 0), manager.file_size);
|
||||
try testing.expectEqual(@as(?std.fs.File, null), manager.cached_file);
|
||||
try testing.expectEqual(@as(?files.filesystem.File, null), manager.cached_file);
|
||||
}
|
||||
|
||||
test "UploadManager.addAvailablePiece and removeAvailablePiece" {
|
||||
|
||||
Reference in New Issue
Block a user