diff --git a/staging/examples_test.go b/staging/examples_test.go index 1cf3eab00..58c4638a1 100644 --- a/staging/examples_test.go +++ b/staging/examples_test.go @@ -409,7 +409,7 @@ func TestExampleObjectSchemas(t *testing.T) { // 6) Look for #5 followed by a newline followed by ``` (end of the code block) // // This could probably be simplified, but is already too delicate. Before any -// real changes, we should have a testscase that just tests this regex. +// real changes, we should have a testcase that just tests this regex. var sampleRegexp = regexp.MustCompile("(?ms)^```(?:(?Pyaml)\\w*\\n(?P.+?)|\\w*\\n(?P\\{.+?\\}))\\n^```") var subsetRegexp = regexp.MustCompile("(?ms)\\.{3}")