Skip to content

Commit 0e0b196

Browse files
committed
Update
1 parent 9257689 commit 0e0b196

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Files.App.UnitTests/Tests/Test_WindowsStorableHelpers.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ public class Test_WindowsStorableHelpers
1414
public void Test_GetShellNewItems()
1515
{
1616
using var folder = new WindowsFolder(new Guid("{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}"));
17-
Assert.IsNotNull(folder, $"{folder} must not be null.");
17+
Assert.IsNotNull(folder, $"{nameof(folder)} must not be null.");
1818

1919
var items = folder.GetShellNewMenuItems();
20-
Assert.IsNotNull(items, $"{items} must not be null.");
20+
Assert.IsNotNull(items, $"{nameof(items)} must not be null.");
2121

2222
foreach (var item in items)
2323
{
@@ -41,10 +41,10 @@ public void Test_GetOpenWithMenuItems()
4141
Assert.IsTrue(hr.Succeeded, $"Failed to perform the copy operation: {hr}");
4242

4343
using var file = WindowsStorable.TryParse("::{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\\Test_GetOpenWithMenuItems.txt") as WindowsFile;
44-
Assert.IsNotNull(file, $"{file} must not be null.");
44+
Assert.IsNotNull(file, $"{nameof(file)} must not be null.");
4545

4646
var items = file.GetOpenWithMenuItems();
47-
Assert.IsNotNull(items, $"{items} must not be null.");
47+
Assert.IsNotNull(items, $"{nameof(items)} must not be null.");
4848

4949
foreach (var item in items)
5050
{

0 commit comments

Comments
 (0)