You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ex.Message.ShouldBe($"Branch configuration 'bug' is missing required configuration 'source-branches'{System.Environment.NewLine}"+
115
-
"See https://gitversion.net/docs/configuration/ for more info");
115
+
"See https://gitversion.net/docs/configuration for more info");
116
116
}
117
117
118
118
[Test(Description="This test proves the configuration validation will fail early with a helpful message when a branch listed in source-branches has no configuration.")]
@@ -127,7 +127,7 @@ public void SourceBranchesValidationShouldFailWhenMatchingBranchConfigurationIsM
ex.Message.ShouldBe($"Branch configuration 'bug' defines these 'source-branches' that are not configured: '[notconfigured]'{System.Environment.NewLine}"+
130
-
"See https://gitversion.net/docs/configuration/ for more info");
130
+
"See https://gitversion.net/docs/configuration for more info");
131
131
}
132
132
133
133
[Test(Description="Well-known branches may not be present in the configuration file. This test confirms the validation check succeeds when the source-branches configuration contain these well-known branches.")]
thrownewConfigurationException($"Branch configuration '{name}' is missing required configuration 'regex'{System.Environment.NewLine}"+"See https://gitversion.net/docs/configuration/ for more info");
158
+
thrownewConfigurationException($"Branch configuration '{name}' is missing required configuration 'regex'{System.Environment.NewLine}"+"See https://gitversion.net/docs/configuration for more info");
159
159
}
160
160
161
161
varsourceBranches=branchConfig.SourceBranches;
162
162
if(sourceBranches==null)
163
163
{
164
-
thrownewConfigurationException($"Branch configuration '{name}' is missing required configuration 'source-branches'{System.Environment.NewLine}"+"See https://gitversion.net/docs/configuration/ for more info");
164
+
thrownewConfigurationException($"Branch configuration '{name}' is missing required configuration 'source-branches'{System.Environment.NewLine}"+"See https://gitversion.net/docs/configuration for more info");
thrownewConfigurationException($"Branch configuration '{name}' defines these 'source-branches' that are not configured: '[{string.Join(",",missingSourceBranches)}]'{System.Environment.NewLine}"+"See https://gitversion.net/docs/configuration/ for more info");
169
+
thrownewConfigurationException($"Branch configuration '{name}' defines these 'source-branches' that are not configured: '[{string.Join(",",missingSourceBranches)}]'{System.Environment.NewLine}"+"See https://gitversion.net/docs/configuration for more info");
0 commit comments