From 7ec572d6f5e0066415017ee36354eaaa2419ecc7 Mon Sep 17 00:00:00 2001 From: Roman Marusyk Date: Thu, 7 Nov 2024 18:34:04 +0200 Subject: [PATCH] Fix SA1010 --- .../Unit/Tools/DotNet/Sln/Add/DotNetSlnAdderTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cake.Common.Tests/Unit/Tools/DotNet/Sln/Add/DotNetSlnAdderTests.cs b/src/Cake.Common.Tests/Unit/Tools/DotNet/Sln/Add/DotNetSlnAdderTests.cs index aec3102c1a..22094b0180 100644 --- a/src/Cake.Common.Tests/Unit/Tools/DotNet/Sln/Add/DotNetSlnAdderTests.cs +++ b/src/Cake.Common.Tests/Unit/Tools/DotNet/Sln/Add/DotNetSlnAdderTests.cs @@ -64,7 +64,7 @@ public void Should_Throw_If_ProjectPath_Is_Empty() { // Given var fixture = new DotNetSlnAdderFixture(); - fixture.ProjectPath = []; + fixture.ProjectPath = new FilePath[] { }; // When var result = Record.Exception(() => fixture.Run());