mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-13 04:26:57 +00:00
feat: Adding UnEnquote string util method
This commit is contained in:
parent
6fdd5a138e
commit
3689517124
2 changed files with 23 additions and 0 deletions
|
|
@ -178,5 +178,12 @@ namespace ICD.Common.Utils.Tests
|
|||
{
|
||||
Assert.AreEqual(expected, StringUtils.Enquote(input));
|
||||
}
|
||||
|
||||
[TestCase("\"test\"", "test")]
|
||||
[TestCase("\"test test\"", "test test")]
|
||||
public void UnEnquoteTest(string input, string expected)
|
||||
{
|
||||
Assert.AreEqual(expected, StringUtils.UnEnquote(input));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue