mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-14 20:25:01 +00:00
feat: Adding UnEnquote string util method
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user