Skip to content

Commit

Permalink
empty is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
RLittlesII committed May 8, 2024
1 parent 25281cf commit 64cb528
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Prism.Core.Tests/Common/ParametersFixture.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#nullable enable
using Prism.Core.Tests.Common.Mocks;
using Prism.Tests.Common.Mocks;
using Xunit;

namespace Prism.Tests.Common
Expand Down Expand Up @@ -27,7 +27,7 @@ public void GetValuesOfT()
{
var parameters = new MockParameters("mock=Foo&mock=2&mock=Fizz");

IEnumerable<MockEnum> values = Enumerable.Empty<MockEnum>();
IEnumerable<MockEnum> values = [];

var ex = Record.Exception(() => values = parameters.GetValues<MockEnum>("mock"));
Assert.Null(ex);
Expand Down

0 comments on commit 64cb528

Please sign in to comment.