Skip to content

Commit

Permalink
Simplify the test commands
Browse files Browse the repository at this point in the history
  • Loading branch information
mdawar committed Dec 30, 2023
1 parent 07f7a91 commit 4fabc61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.PHONY: test
test:
go test ./... -cover -race -count 1
go test -cover -race -count 1

.PHONY: benchmark
benchmark:
go test ./... -bench .
go test -bench .
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ make test
Or:

```sh
go test ./... -cover -race
go test -cover -race
```

## Benchmarks
Expand All @@ -121,5 +121,5 @@ make benchmark
Or:

```sh
go test ./... -bench .
go test -bench .
```

0 comments on commit 4fabc61

Please sign in to comment.