maliming
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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
|
|
|
|
|