Skip to content

Commit

Permalink
Use Path.Combine to add to path
Browse files Browse the repository at this point in the history
  • Loading branch information
Evans Aboge (from Dev Box) committed Jan 17, 2025
1 parent 8713ba8 commit e89c51f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Kiota.Builder.Tests/Settings/SettingsManagementTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ public void GetDirectoryContainingSettingsFile_ShouldCreateTheDirectory_If_It_Do

// Act
var result = service.GetDirectoryContainingSettingsFile(tempDirectory);

tempDirectory = Path.Combine(tempDirectory, ".vscode");
// Assert
Assert.Equal(tempDirectory + "\\.vscode", result);
Assert.Equal(tempDirectory, result);

// Cleanup
try
Expand Down

0 comments on commit e89c51f

Please sign in to comment.