Skip to content

Commit

Permalink
naming changes, additional test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Gołębiowski committed Jan 8, 2025
1 parent ca3e2e3 commit 861975d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Cody.Core.Tests/StringExtensionsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public class StringExtensionsTests
[TestCase(@"c:\path\to\file", "file:///c%3A/path/to/file")]
[TestCase(@"c:/path/to/file", "file:///c%3A/path/to/file")]
[TestCase(@"c:/file.txt", "file:///c%3A/file.txt")]
[TestCase(@"file.txt", "file:///file.txt")]
public void Can_Convert_Path_To_Valid_Uri(string path, string expectedPath)
{
var result = StringExtensions.ToUri(path);
Expand Down
4 changes: 2 additions & 2 deletions src/Cody.VisualStudio/CodyPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ private void ReportSentryVsVersion()
{
SentrySdk.ConfigureScope(scope =>
{
scope.SetTag("vs_version", VsVersionService.DisplayVersion);
scope.SetTag("agent_version", VersionService.Agent);
scope.SetTag("vs", VsVersionService.DisplayVersion);
scope.SetTag("agent", VersionService.Agent);
SentrySdk.CaptureMessage("Initialized");
});
}
Expand Down

0 comments on commit 861975d

Please sign in to comment.