Skip to content

Commit bb1fce0

Browse files
remove unecessary comments
1 parent c12d550 commit bb1fce0

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

src/Cli.Tests/ValidateConfigTests.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -884,12 +884,9 @@ public void TestChildWithEntitiesAndAutoentitiesResolvingZeroLogsNamedWarning()
884884
}
885885

886886
/// <summary>
887-
/// Child config with only autoentities that resolve to >0 entities is valid.
887+
/// Child config with only autoentities that resolve to greater than 0 entities is valid.
888888
/// Simulates the production code path where the metadata provider stores resolution
889889
/// counts on the root (merged) config rather than on the child config directly.
890-
/// This is the regression test for the bug where child-config autoentities caused
891-
/// "No entities found" even when they were expanded successfully.
892-
/// Covers child truth-table row C5 (DS=1, E=0, AE=1, resolved>0, counts on root).
893890
/// </summary>
894891
[TestMethod]
895892
public void TestChildWithDataSourceAndAutoentitiesResolvingEntitiesIsValid()

src/Core/Configurations/RuntimeConfigValidator.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -739,9 +739,8 @@ private void ValidateRootConfig(RuntimeConfig runtimeConfig)
739739
// Validate each child config independently.
740740
foreach ((string fileName, RuntimeConfig childConfig) in runtimeConfig.ChildConfigs)
741741
{
742-
// The metadata provider stores autoentity resolution counts on the root (merged)
743-
// config. Copy those counts to the child config so per-child validation can find
744-
// them. Only copy if the child hasn't already been populated (e.g. in unit tests).
742+
// The metadata provider stores autoentity resolution counts on the root config.
743+
// Copy those counts to the child config so per-child validation can find them
745744
foreach (KeyValuePair<string, Autoentity> ae in childConfig.Autoentities)
746745
{
747746
if (!childConfig.AutoentityResolutionCounts.ContainsKey(ae.Key)

0 commit comments

Comments
 (0)