Skip to content

Commit

Permalink
Fix typo when replacing go test with gotestsum
Browse files Browse the repository at this point in the history
Very minor change to update the `go testsum` command to `gotestsum` (no space). Without it go will complain about the `testsum` command not being found.

This is correct in the example underneath, so this is just a consistency change.
  • Loading branch information
sc-lachlanrobertson authored Oct 16, 2023
1 parent abaf180 commit d5f7bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/test_analytics/golang_collectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To use Test Analytics with your [Go](https://go.dev/) language projects use [got
go install gotest.tools/gotestsum@latest
```

2. Use gotestsum to run your tests and output JUnit XML, by replacing `go test` with `go testsum`, for example:
2. Use gotestsum to run your tests and output JUnit XML, by replacing `go test` with `gotestsum`, for example:

```sh
gotestsum --junitfile junit.xml ./...
Expand Down

0 comments on commit d5f7bef

Please sign in to comment.