소스 검색

Merge pull request #11329 from estesp/fix-run-test-doc

Remove escaping from TESTFLAGS; it is no longer required
moxiegirl 10 년 전
부모
커밋
5b5b09275e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/sources/project/test-and-docs.md

+ 1 - 1
docs/sources/project/test-and-docs.md

@@ -170,7 +170,7 @@ You can use the `TESTFLAGS` environment variable to run a single test. The
 flag's value is passed as arguments to the `go test` command. For example, from
 your local host you can run the `TestBuild` test with this command:
 
-        $ TESTFLAGS='-test.run \^TestBuild\$' make test
+        $ TESTFLAGS='-test.run ^TestBuild$' make test
 
 To run the same test inside your Docker development container, you do this: