Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiling-J committed Feb 28, 2025
1 parent 02a9f91 commit 47c64fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ The test code in these files clearly demonstrates how to test the API, Git, and
One important thing to remember is that for all integration tests, you should add the following snippet at the beginning of your test function:

```go
if testing.Short() {
t.Skip("skipping integration test")
}
if testing.Short() {
t.Skip("skipping integration test")
}
```

This allows you to differentiate between unit tests and integration tests.
Expand Down

0 comments on commit 47c64fe

Please sign in to comment.