diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2024-01-06 11:53:18 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2024-01-06 11:53:18 -0500 |
| commit | 64a8adf7039ea91d0674c80e05f4942116c5339f (patch) | |
| tree | bd967c2c631439132b84e80759e3eef80949cd5d /vendor/github.com/stretchr/testify/assert/doc.go | |
| parent | Tweak a few comments (diff) | |
| download | cli-64a8adf7039ea91d0674c80e05f4942116c5339f.zip | |
Tweak model tests
Diffstat (limited to 'vendor/github.com/stretchr/testify/assert/doc.go')
| -rw-r--r-- | vendor/github.com/stretchr/testify/assert/doc.go | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/vendor/github.com/stretchr/testify/assert/doc.go b/vendor/github.com/stretchr/testify/assert/doc.go deleted file mode 100644 index 4953981..0000000 --- a/vendor/github.com/stretchr/testify/assert/doc.go +++ /dev/null @@ -1,46 +0,0 @@ -// Package assert provides a set of comprehensive testing tools for use with the normal Go testing system. -// -// # Example Usage -// -// The following is a complete example using assert in a standard test function: -// -// import ( -// "testing" -// "github.com/stretchr/testify/assert" -// ) -// -// func TestSomething(t *testing.T) { -// -// var a string = "Hello" -// var b string = "Hello" -// -// assert.Equal(t, a, b, "The two words should be the same.") -// -// } -// -// if you assert many times, use the format below: -// -// import ( -// "testing" -// "github.com/stretchr/testify/assert" -// ) -// -// func TestSomething(t *testing.T) { -// assert := assert.New(t) -// -// var a string = "Hello" -// var b string = "Hello" -// -// assert.Equal(a, b, "The two words should be the same.") -// } -// -// # Assertions -// -// Assertions allow you to easily write test code, and are global funcs in the `assert` package. -// All assertion functions take, as the first argument, the `*testing.T` object provided by the -// testing framework. This allows the assertion funcs to write the failings and other details to -// the correct place. -// -// Every assertion function also takes an optional string message as the final argument, -// allowing custom error messages to be appended to the message the assertion method outputs. -package assert |