From 126f371e47df520b76d9233f50afd07b999ffea5 Mon Sep 17 00:00:00 2001 From: "Jonathan A. Schweder" Date: Thu, 29 Nov 2018 10:52:39 -0200 Subject: [PATCH] Fix mistake in docs/contributing/test.md running specific unit test (#38096) Signed-off-by: Jonathan A. Schweder --- docs/contributing/test.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contributing/test.md b/docs/contributing/test.md index 8a50b06786..d70dcc5287 100644 --- a/docs/contributing/test.md +++ b/docs/contributing/test.md @@ -148,7 +148,7 @@ You can use the `TESTDIRS` environment variable to run unit tests for a single package. ```bash -$ TESTDIRS='opts' make test-unit +$ TESTDIRS='github.com/docker/docker/opts' make test-unit ``` You can also use the `TESTFLAGS` environment variable to run a single test. The @@ -163,7 +163,7 @@ On unit tests, it's better to use `TESTFLAGS` in combination with `TESTDIRS` to make it quicker to run a specific test. ```bash -$ TESTDIRS='opts' TESTFLAGS='-test.run ^TestValidateIPAddress$' make test-unit +$ TESTDIRS='github.com/docker/docker/opts' TESTFLAGS='-test.run $^TestValidateIPAddress$' make test-unit ``` ## Run integration tests