Skip to content

Commit

Permalink
Updated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Mar 14, 2024
1 parent 349f0a8 commit 55da2bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/Foundatio.Tests/Storage/FolderFileStorageTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ public async Task WillNotReturnDirectoryInGetPagedFileListAsync()
Assert.False(result.HasMore);
Assert.Empty(result.Files);

// Ensure the file can (folder storage won't return it as it's a directory) be returned via get file info
// Ensure the directory will not be returned via get file info
var info = await storage.GetFileInfoAsync(directory);
Assert.Null(info?.Path);
Assert.Null(info);

// Ensure delete files can remove all files including fake folders
await storage.DeleteFilesAsync("*");
Expand Down
4 changes: 2 additions & 2 deletions tests/Foundatio.Tests/Storage/ScopedFolderFileStorageTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ public async Task WillNotReturnDirectoryInGetPagedFileListAsync()
Assert.False(result.HasMore);
Assert.Empty(result.Files);

// Ensure the file can (folder storage won't return it as it's a directory) be returned via get file info
// Ensure the directory will not be returned via get file info
var info = await storage.GetFileInfoAsync(directory);
Assert.Null(info?.Path);
Assert.Null(info);

// Ensure delete files can remove all files including fake folders
await storage.DeleteFilesAsync("*");
Expand Down

0 comments on commit 55da2bd

Please sign in to comment.