Address comments

This commit is contained in:
Bond_009
2020-04-19 18:27:07 +02:00
parent d99536e99f
commit fc3e2baccc
6 changed files with 48 additions and 8 deletions

View File

@@ -0,0 +1,19 @@
using System;
using MediaBrowser.Model.Extensions;
using Xunit;
namespace Jellyfin.Model.Tests.Extensions
{
public class StringHelperTests
{
[Theory]
[InlineData("", "")]
[InlineData("banana", "Banana")]
[InlineData("Banana", "Banana")]
[InlineData("ä", "Ä")]
public void FirstToUpperTest(string str, string result)
{
Assert.Equal(result, StringHelper.FirstToUpper(str));
}
}
}