Skip to content

Commit b77bfea

Browse files
committed
update test name
1 parent fefb137 commit b77bfea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Flow.Launcher.Test/FilesFoldersTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Flow.Launcher.Plugin.SharedCommands;
1+
using Flow.Launcher.Plugin.SharedCommands;
22
using NUnit.Framework;
33

44
namespace Flow.Launcher.Test
@@ -37,15 +37,15 @@ public class FilesFoldersTest
3737
[TestCase(@"c:\foo", @"c:\foo", false)]
3838
[TestCase(@"c:\foo\", @"c:\foo", false)]
3939
[TestCase(@"c:\foo", @"c:\foo\", false)]
40-
public void TestPathContains(string parentPath, string path, bool expectedResult)
40+
public void GivenTwoPaths_WhenCheckPathContains_ThenShouldBeExpectedResult(string parentPath, string path, bool expectedResult)
4141
{
4242
Assert.AreEqual(expectedResult, FilesFolders.PathContains(parentPath, path));
4343
}
4444

4545
[TestCase(@"c:\foo", @"c:\foo", true)]
4646
[TestCase(@"c:\foo\", @"c:\foo", true)]
4747
[TestCase(@"c:\foo", @"c:\foo\", true)]
48-
public void TestPathContainsWhenEqual(string parentPath, string path, bool expectedResult)
48+
public void GivenTwoPathsAreTheSame_WhenCheckPathContains_ThenShouldBeTrue(string parentPath, string path, bool expectedResult)
4949
{
5050
Assert.AreEqual(expectedResult, FilesFolders.PathContains(parentPath, path, true));
5151
}

0 commit comments

Comments
 (0)