Преглед на файлове

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
 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:
 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:
 To run the same test inside your Docker development container, you do this: