mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-15 23:02:18 +01:00
Address comments
This commit is contained in:
19
tests/Jellyfin.Model.Tests/Extensions/StringHelperTests.cs
Normal file
19
tests/Jellyfin.Model.Tests/Extensions/StringHelperTests.cs
Normal 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));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user