Skip to content

Commit c69dacb

Browse files
authored
docs: Update URLs in README
1 parent 0ab3ce1 commit c69dacb

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ Features include:
1616
Get started:
1717

1818
* Install testify with [one line of code](#installation), or [update it with another](#staying-up-to-date)
19-
* For an introduction to writing test code in Go, see http://golang.org/doc/code.html#Testing
20-
* Check out the API Documentation http://godoc.org/github.com/stretchr/testify
21-
* To make your testing life easier, check out our other project, [gorc](http://github.com/stretchr/gorc)
22-
* A little about [Test-Driven Development (TDD)](http://en.wikipedia.org/wiki/Test-driven_development)
19+
* For an introduction to writing test code in Go, see https://golang.org/doc/code.html#Testing
20+
* Check out the API Documentation https://pkg.go.dev/github.com/stretchr/testify
21+
* To make your testing life easier, check out our other project, [gorc](https://github.com/stretchr/gorc)
22+
* A little about [Test-Driven Development (TDD)](https://en.wikipedia.org/wiki/Test-driven_development)
2323

2424

2525

26-
[`assert`](http://godoc.org/github.com/stretchr/testify/assert "API documentation") package
26+
[`assert`](https://pkg.go.dev/github.com/stretchr/testify/assert "API documentation") package
2727
-------------------------------------------------------------------------------------------
2828

2929
The `assert` package provides some helpful methods that allow you to write better test code in Go.
@@ -100,14 +100,14 @@ func TestSomething(t *testing.T) {
100100
}
101101
```
102102

103-
[`require`](http://godoc.org/github.com/stretchr/testify/require "API documentation") package
103+
[`require`](https://pkg.go.dev/github.com/stretchr/testify/require "API documentation") package
104104
---------------------------------------------------------------------------------------------
105105

106106
The `require` package provides same global functions as the `assert` package, but instead of returning a boolean result they terminate current test.
107107

108-
See [t.FailNow](http://golang.org/pkg/testing/#T.FailNow) for details.
108+
See [t.FailNow](https://pkg.go.dev/testing#T.FailNow) for details.
109109

110-
[`mock`](http://godoc.org/github.com/stretchr/testify/mock "API documentation") package
110+
[`mock`](https://pkg.go.dev/github.com/stretchr/testify/mock "API documentation") package
111111
----------------------------------------------------------------------------------------
112112

113113
The `mock` package provides a mechanism for easily writing mock objects that can be used in place of real objects when writing test code.
@@ -217,11 +217,11 @@ func TestSomethingElse2(t *testing.T) {
217217
}
218218
```
219219

220-
For more information on how to write mock code, check out the [API documentation for the `mock` package](http://godoc.org/github.com/stretchr/testify/mock).
220+
For more information on how to write mock code, check out the [API documentation for the `mock` package](https://pkg.go.dev/github.com/stretchr/testify/mock).
221221

222-
You can use the [mockery tool](http://github.com/vektra/mockery) to autogenerate the mock code against an interface as well, making using mocks much quicker.
222+
You can use the [mockery tool](https://github.com/vektra/mockery) to autogenerate the mock code against an interface as well, making using mocks much quicker.
223223

224-
[`suite`](http://godoc.org/github.com/stretchr/testify/suite "API documentation") package
224+
[`suite`](https://pkg.go.dev/github.com/stretchr/testify/suite "API documentation") package
225225
-----------------------------------------------------------------------------------------
226226

227227
The `suite` package provides functionality that you might be used to from more common object oriented languages. With it, you can build a testing suite as a struct, build setup/teardown methods and testing methods on your struct, and run them with 'go test' as per normal.
@@ -265,7 +265,7 @@ func TestExampleTestSuite(t *testing.T) {
265265

266266
For a more complete example, using all of the functionality provided by the suite package, look at our [example testing suite](https://github.com/stretchr/testify/blob/master/suite/suite_test.go)
267267

268-
For more information on writing suites, check out the [API documentation for the `suite` package](http://godoc.org/github.com/stretchr/testify/suite).
268+
For more information on writing suites, check out the [API documentation for the `suite` package](https://pkg.go.dev/github.com/stretchr/testify/suite).
269269

270270
`Suite` object has assertion methods:
271271

0 commit comments

Comments
 (0)