Skip to content

Commit

Permalink
fix wrong spell: 'testscase' -> 'testcase'
Browse files Browse the repository at this point in the history
  • Loading branch information
qq843700497 committed May 21, 2020
1 parent 67f8fd1 commit 2b26c5d
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 2b26c5d

Please sign in to comment.