Skip to content

Commit 8b23b47

Browse files
committed
Removed prefixed dollar-sign for easier copy and pasting
from documentation and removed a few warnings from Markdownlint
1 parent 70b1936 commit 8b23b47

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,32 @@ Like `go test` but with colors.
88

99
Use the pre-built binary for Linux 64-bit:
1010

11-
```
12-
$ curl https://gotest-release.s3.amazonaws.com/gotest_linux > gotest && chmod +x gotest
11+
```bash
12+
curl https://gotest-release.s3.amazonaws.com/gotest_linux > gotest && chmod +x gotest
1313
```
1414

1515
Alternatively:
1616

17-
```
18-
$ go get -u github.com/rakyll/gotest
17+
```bash
18+
go get -u github.com/rakyll/gotest
1919
```
2020

21-
# Usage
21+
## Usage
2222

2323
Accepts all the arguments and flags `go test` works with.
2424

2525
Example:
2626

27+
```bash
28+
gotest -v github.com/jonasbn/go-test-demo
2729
```
28-
$ gotest -v github.com/jonasbn/go-test-demo
29-
```
30+
3031
![gotest output example screenshot](https://raw.githubusercontent.com/jonasbn/go-test-demo/1.0.0/gotest-go-test-demo.png)
3132

3233
gotest comes with many colors! Configure the color of the output by setting the following env variable:
3334

34-
```
35-
$ GOTEST_PALETTE="magenta,white"
35+
```bash
36+
GOTEST_PALETTE="magenta,white"
3637
```
3738

3839
The output will have magenta for failed cases, white for success.

0 commit comments

Comments
 (0)