Skip to content

Commit 6f9fad9

Browse files
authored
Merge pull request #383 from qq843700497/examples-lbf
fix wrong spell: 'testscase' -> 'testcase'
2 parents 67f8fd1 + 2b26c5d commit 6f9fad9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/examples_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ func TestExampleObjectSchemas(t *testing.T) {
409409
// 6) Look for #5 followed by a newline followed by ``` (end of the code block)
410410
//
411411
// 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.
412+
// real changes, we should have a testcase that just tests this regex.
413413
var sampleRegexp = regexp.MustCompile("(?ms)^```(?:(?P<type>yaml)\\w*\\n(?P<content>.+?)|\\w*\\n(?P<content>\\{.+?\\}))\\n^```")
414414
var subsetRegexp = regexp.MustCompile("(?ms)\\.{3}")
415415

0 commit comments

Comments
 (0)