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
it("should pick the first line of the description if the body contains */",()=>{
180
+
constschema: SchemaObject={
181
+
title: "Deployment branch policy name pattern",
182
+
required: ["name"],
183
+
type: "object",
184
+
properties: {
185
+
name: {
186
+
type: "string",
187
+
description: `The name pattern that branches must match in order to deploy to the environment.
188
+
189
+
Wildcard characters will not match \`/\`. For example, to match branches that begin with \`release/\` and contain an additional single slash, use \`release/*/*\`.
190
+
For more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).`,
* The name pattern that branches must match in order to deploy to the environment.
200
+
*
201
+
* [see original specs]
202
+
*
203
+
* @example release/*
204
+
*/
205
+
name: string;
206
+
};"
207
+
`);
208
+
});
209
+
210
+
it("should skip the description if the first line contains */",()=>{
211
+
constschema: SchemaObject={
212
+
title: "Deployment branch policy name pattern",
213
+
required: ["name"],
214
+
type: "object",
215
+
properties: {
216
+
name: {
217
+
type: "string",
218
+
description: `Wildcard characters will not match \`/\`. For example, to match branches that begin with \`release/\` and contain an additional single slash, use \`release/*/*\`.
219
+
For more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).`,
0 commit comments