Browse Source

Update StringExtensions_Tests.cs

pull/6705/head
maliming 6 years ago
committed by GitHub
parent
commit
a4dad2df06
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      framework/test/Volo.Abp.Core.Tests/System/StringExtensions_Tests.cs

2
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

Loading…
Cancel
Save