Skip to content

Commit

Permalink
Merge pull request kubernetes#383 from qq843700497/examples-lbf
Browse files Browse the repository at this point in the history
fix wrong spell: 'testscase' -> 'testcase'
  • Loading branch information
k8s-ci-robot authored May 21, 2020
2 parents 67f8fd1 + 2b26c5d commit 6f9fad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staging/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)^```(?:(?P<type>yaml)\\w*\\n(?P<content>.+?)|\\w*\\n(?P<content>\\{.+?\\}))\\n^```")
var subsetRegexp = regexp.MustCompile("(?ms)\\.{3}")

Expand Down

0 comments on commit 6f9fad9

Please sign in to comment.