Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
5eac267569
commit
579ed5c1fc
|
@ -25,7 +25,7 @@ namespace Jellyfin.Server.Implementations.Tests.Sorting
|
||||||
Assert.Equal(expected, cmp.Compare(x, y));
|
Assert.Equal(expected, cmp.Compare(x, y));
|
||||||
if (expected == 1)
|
if (expected == 1)
|
||||||
{
|
{
|
||||||
Assert.Equal(expected * -1, cmp.Compare(y, x));
|
Assert.Equal(-expected, cmp.Compare(y, x));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user