diff --git a/Documentation/usage/dlv_test.md b/Documentation/usage/dlv_test.md index 9da84116..cdeeac41 100644 --- a/Documentation/usage/dlv_test.md +++ b/Documentation/usage/dlv_test.md @@ -11,7 +11,7 @@ unit tests. By default Delve will debug the tests in the current directory. Alternatively you can specify a package name, and Delve will debug the tests in that package instead. Double-dashes `--` can be used to pass arguments to the test program: -dlv test [package] -- -test.v -other-argument +dlv test [package] -- -test.run TestSometing -test.v -other-argument See also: 'go help testflag'. diff --git a/cmd/dlv/cmds/commands.go b/cmd/dlv/cmds/commands.go index d76ffe79..6b1d479c 100644 --- a/cmd/dlv/cmds/commands.go +++ b/cmd/dlv/cmds/commands.go @@ -278,7 +278,7 @@ unit tests. By default Delve will debug the tests in the current directory. Alternatively you can specify a package name, and Delve will debug the tests in that package instead. Double-dashes ` + "`--`" + ` can be used to pass arguments to the test program: -dlv test [package] -- -test.v -other-argument +dlv test [package] -- -test.run TestSometing -test.v -other-argument See also: 'go help testflag'.`, Run: testCmd,