浏览代码

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: