We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 67f8fd1 + 2b26c5d commit 6f9fad9Copy full SHA for 6f9fad9
staging/examples_test.go
@@ -409,7 +409,7 @@ func TestExampleObjectSchemas(t *testing.T) {
409
// 6) Look for #5 followed by a newline followed by ``` (end of the code block)
410
//
411
// This could probably be simplified, but is already too delicate. Before any
412
-// real changes, we should have a testscase that just tests this regex.
+// real changes, we should have a testcase that just tests this regex.
413
var sampleRegexp = regexp.MustCompile("(?ms)^```(?:(?P<type>yaml)\\w*\\n(?P<content>.+?)|\\w*\\n(?P<content>\\{.+?\\}))\\n^```")
414
var subsetRegexp = regexp.MustCompile("(?ms)\\.{3}")
415
0 commit comments