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.
17 lines
342 B
17 lines
342 B
using FluentAssertions;
|
|
using NUnit.Framework;
|
|
|
|
namespace TestLibrary.Tests;
|
|
|
|
[TestFixture]
|
|
[Parallelizable(ParallelScope.All)]
|
|
public class StringUtilsTest
|
|
{
|
|
[Test]
|
|
public void TrimmedString_Newlines_AreStripped()
|
|
{
|
|
var testStr = "\r\ntest\r\n";
|
|
StringUtils.TrimmedString(testStr).Should().Be("test");
|
|
}
|
|
}
|