Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Marusyk committed Nov 5, 2024
1 parent 6b27117 commit 28930d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Cake.Common/Tools/DotNet/DotNetAliases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2905,7 +2905,7 @@ public static DotNetPackageList DotNetListPackage(this ICakeContext context, str
[CakeNamespaceImport("Cake.Common.Tools.DotNet.Sln.List")]
public static IEnumerable<string> DotNetSlnList(this ICakeContext context)
{
return context.DotNetListSln(null);
return context.DotNetSlnList(null);
}

/// <summary>
Expand All @@ -2927,7 +2927,7 @@ public static IEnumerable<string> DotNetSlnList(this ICakeContext context)
[CakeMethodAlias]
[CakeAliasCategory("Sln")]
[CakeNamespaceImport("Cake.Common.Tools.DotNet.Sln.List")]
public static IEnumerable<string> DotNetListSln(this ICakeContext context, string solution)
public static IEnumerable<string> DotNetSlnList(this ICakeContext context, string solution)
{
return context.DotNetSlnList(solution, null);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ Task("Cake.Common.Tools.DotNet.DotNetAliases.DotNetListSln")
// Given
var path = Paths.Temp.Combine("./Cake.Common/Tools/DotNet");
var solution = path.CombineWithFilePath("hwapp.sln");
var project = "hwapp.common\hwapp.common.csproj";
var project = new DirectoryPath("./hwapp.common").CombineWithFilePath("hwapp.common.csproj");
// When
var result = DotNetSlnList(solution.FullPath);
// Then
Expand Down

0 comments on commit 28930d6

Please sign in to comment.