csharp4405de34 | 1 | using CascadeIDE.Features.Intercom.Transport; |
| 2 | using Xunit; |
| 3 | |
| 4 | namespace CascadeIDE.Tests; |
| 5 | |
| 6 | public 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