Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
Rob 2021-08-09 11:27:40 -07:00 committed by GitHub
parent 5eac267569
commit 579ed5c1fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));
} }
} }
} }