You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
295 B
15 lines
295 B
1 year ago
|
using Recyclarr.TestLibrary;
|
||
|
|
||
|
namespace Recyclarr.Tests.TestLibrary;
|
||
3 years ago
|
|
||
|
[TestFixture]
|
||
|
public class StringUtilsTest
|
||
4 years ago
|
{
|
||
3 years ago
|
[Test]
|
||
|
public void TrimmedString_Newlines_AreStripped()
|
||
4 years ago
|
{
|
||
3 years ago
|
var testStr = "\r\ntest\r\n";
|
||
|
StringUtils.TrimmedString(testStr).Should().Be("test");
|
||
4 years ago
|
}
|
||
|
}
|