Forge
csharp4405de34
1using CascadeIDE.Features.Intercom.Transport;
2using Xunit;
3
4namespace CascadeIDE.Tests;
5
6public sealed class IntercomGitRepoUrlNormalizerTests
7{
8 [Theory]
9 [InlineData("https://GitHub.com/Org/Repo.git", "github.com/org/repo")]
10 [InlineData("git@github.com:Org/Repo.git", "github.com/org/repo")]
11 public void Normalize_matches_server_rules(string raw, string expected)
12 {
13 Assert.Equal(expected, IntercomGitRepoUrlNormalizer.TryNormalize(raw));
14 }
15}
16
View only · write via MCP/CIDE