From 2b26c5d5d0809012205b6b21c07846d5dca94c0b Mon Sep 17 00:00:00 2001 From: qq843700497 <843700497@qq.com> Date: Thu, 21 May 2020 10:23:23 +0800 Subject: [PATCH] fix wrong spell: 'testscase' -> 'testcase' --- staging/examples_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}")