csharpdeeb25a2 | 1 | using CascadeIDE.Services; |
| 2 | using Xunit; |
| 3 | |
| 4 | namespace CascadeIDE.Tests; |
| 5 | |
| 6 | /// <summary>ADR 0150: канонический каталог без legacy requires_arg_tail.</summary> |
| 7 | public sealed class IntentCatalogArgTailPolicyTests |
| 8 | { |
| 9 | [Fact] |
| 10 | public void BundledIntentCatalog_HasNoLegacyRequiresArgTail() |
| 11 | { |
| 12 | var repoRoot = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "..", "..", "..", "..", "..")); |
| 13 | var catalogPath = Path.Combine(repoRoot, IntentMelodyAliases.BundledRelativePath); |
| 14 | Assert.True(File.Exists(catalogPath), catalogPath); |
| 15 | |
| 16 | var text = File.ReadAllText(catalogPath); |
| 17 | Assert.DoesNotContain("requires_arg_tail =", text, StringComparison.Ordinal); |
| 18 | } |
| 19 | } |
| 20 | |
View only · write via MCP/CIDE