Skip to content

Commit 0f3ab42

Browse files
authored
Merge pull request #98 from dnephin/update-docs
Add -t flag to test2json examples
2 parents b348b74 + 7abd97c commit 0f3ab42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ that `gotestsum` expects.
169169
Example:
170170

171171
```
172-
gotestsum --raw-command -- go tool test2json -p pkgname ./binary.test -test.v
172+
gotestsum --raw-command -- go tool test2json -t -p pkgname ./binary.test -test.v
173173
```
174174

175175
`pkgname` is the name of the package being tested, it will show up in the test

docs/running-without-go.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ mv test2json /usr/local/bin/test2json
1717
Example: running without a Go installation
1818
```
1919
export GOVERSION=1.13
20-
gotestsum --raw-command -- test2json -p pkgname ./binary.test -test.v
20+
gotestsum --raw-command -- test2json -t -p pkgname ./binary.test -test.v
2121
```
2222

0 commit comments

Comments
 (0)