浏览代码

Fix quoting of TESTFLAGS in devenvironment.md

Copy and pasting the example should now work, rather than TESTFLAGS being silently ignored.
Hugo Duncan 10 年之前
父节点
当前提交
7aa88a4ff6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/sources/contributing/devenvironment.md

+ 1 - 1
docs/sources/contributing/devenvironment.md

@@ -115,7 +115,7 @@ something like this
 If $TESTFLAGS is set in the environment, it is passed as extra arguments
 to `go test`. You can use this to select certain tests to run, e.g.,
 
-    $ TESTFLAGS=`-test.run \^TestBuild\$` make test
+    $ TESTFLAGS='-test.run \^TestBuild\$' make test
 
 If the output indicates "FAIL" and you see errors like this: