From a4dad2df061d61258c39df75afe55ee2f8185250 Mon Sep 17 00:00:00 2001 From: maliming Date: Mon, 21 Dec 2020 09:33:24 +0800 Subject: [PATCH] Update StringExtensions_Tests.cs --- .../test/Volo.Abp.Core.Tests/System/StringExtensions_Tests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/test/Volo.Abp.Core.Tests/System/StringExtensions_Tests.cs b/framework/test/Volo.Abp.Core.Tests/System/StringExtensions_Tests.cs index 3a4a3746eb..5f4e459ebe 100644 --- a/framework/test/Volo.Abp.Core.Tests/System/StringExtensions_Tests.cs +++ b/framework/test/Volo.Abp.Core.Tests/System/StringExtensions_Tests.cs @@ -211,7 +211,7 @@ namespace System //empty case string.Empty.RemovePreFix("Test").ShouldBe(string.Empty); - "Home.Index".RemovePreFix("NotMatchedPostfix").ShouldBe("Home.Index"); + "Home.Index".RemovePreFix("NotMatchedPrefix").ShouldBe("Home.Index"); "Home.About".RemovePreFix("Home.").ShouldBe("About"); //Ignore case