From b77bfea8875be532cafacfcefce6a14c34023ea6 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Fri, 20 Jan 2023 07:55:16 +1100 Subject: [PATCH] update test name --- Flow.Launcher.Test/FilesFoldersTest.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Flow.Launcher.Test/FilesFoldersTest.cs b/Flow.Launcher.Test/FilesFoldersTest.cs index a65cc600d..d16826053 100644 --- a/Flow.Launcher.Test/FilesFoldersTest.cs +++ b/Flow.Launcher.Test/FilesFoldersTest.cs @@ -1,4 +1,4 @@ -using Flow.Launcher.Plugin.SharedCommands; +using Flow.Launcher.Plugin.SharedCommands; using NUnit.Framework; namespace Flow.Launcher.Test @@ -37,7 +37,7 @@ namespace Flow.Launcher.Test [TestCase(@"c:\foo", @"c:\foo", false)] [TestCase(@"c:\foo\", @"c:\foo", false)] [TestCase(@"c:\foo", @"c:\foo\", false)] - public void TestPathContains(string parentPath, string path, bool expectedResult) + public void GivenTwoPaths_WhenCheckPathContains_ThenShouldBeExpectedResult(string parentPath, string path, bool expectedResult) { Assert.AreEqual(expectedResult, FilesFolders.PathContains(parentPath, path)); } @@ -45,7 +45,7 @@ namespace Flow.Launcher.Test [TestCase(@"c:\foo", @"c:\foo", true)] [TestCase(@"c:\foo\", @"c:\foo", true)] [TestCase(@"c:\foo", @"c:\foo\", true)] - public void TestPathContainsWhenEqual(string parentPath, string path, bool expectedResult) + public void GivenTwoPathsAreTheSame_WhenCheckPathContains_ThenShouldBeTrue(string parentPath, string path, bool expectedResult) { Assert.AreEqual(expectedResult, FilesFolders.PathContains(parentPath, path, true)); }