Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IliaSotnikov2005 committed Dec 26, 2024
1 parent c6e70e8 commit 6803122
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SimpleFTP/SimpleFTPTest/Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ public static async Task Test_ListRequest()
/// </summary>
/// <returns>Task.</returns>
[Test]
public static async Task Test_ListRequestToNotExistingDirectory_ReturnEmpty()
public static async Task Test_ListRequestToNotExistingDirectory_ReturnNull()
{
var client = new Client(HostName, Port);
var content = await client.List("not_exist");
Assert.That(content, Is.Empty);
Assert.That(content, Is.Null);
}

/// <summary>
Expand Down Expand Up @@ -166,11 +166,11 @@ public static async Task Test_GetRequestForImageFile()
/// </summary>
/// <returns>Task.</returns>
[Test]
public static async Task Test_GetRequestForNotExistingFile_ReturnsEmpty()
public static async Task Test_GetRequestForNotExistingFile_ReturnsNull()
{
var client = new Client(HostName, Port);
var content = await client.Get("notexist.txt");
Assert.That(content, Is.Empty);
Assert.That(content, Is.Null);
}

/// <summary>
Expand Down

0 comments on commit 6803122

Please sign in to comment.