From 0a3cf5ed826e35a892f008bf1f8c138d589135e6 Mon Sep 17 00:00:00 2001 From: AdamDang Date: Wed, 28 Feb 2018 03:11:46 +0800 Subject: [PATCH] fix a testscase->a test case (#7542) "a testscase" is not correct. --- test/examples_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/examples_test.go b/test/examples_test.go index 2bc6ba8084..9075d9b713 100644 --- a/test/examples_test.go +++ b/test/examples_test.go @@ -664,7 +664,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 test case that just tests this regex. var sampleRegexp = regexp.MustCompile("(?ms)^```(?:(?Pyaml)\\w*\\n(?P.+?)|\\w*\\n(?P\\{.+?\\}))\\n^```") var subsetRegexp = regexp.MustCompile("(?ms)\\.{3}")