Parcourir la source

The correct option for go test is -test.run not -run

Arthur Gautier il y a 11 ans
Parent
commit
2a7770a712
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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=`-run \^TestBuild\$` make test
+    $ TESTFLAGS=`-test.run \^TestBuild\$` make test
 
 If the output indicates "FAIL" and you see errors like this: