aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/stretchr/testify/require/doc.go
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2017-12-31 02:11:08 +0100
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-12-31 09:11:08 +0800
commitd2736e268bd6a72cb6c0c1d3de85388541f42284 (patch)
tree3fd4934578a60bf25d400b1d36a523ce3c051b4e /vendor/github.com/stretchr/testify/require/doc.go
parent3850bad4c07128a144e98db8bf5fc314a4e12bd9 (diff)
downloadgitea-d2736e268bd6a72cb6c0c1d3de85388541f42284.tar.gz
gitea-d2736e268bd6a72cb6c0c1d3de85388541f42284.zip
Remove unused vendor github.com/stretchr/testify/require (#3273)
Diffstat (limited to 'vendor/github.com/stretchr/testify/require/doc.go')
-rw-r--r--vendor/github.com/stretchr/testify/require/doc.go28
1 files changed, 0 insertions, 28 deletions
diff --git a/vendor/github.com/stretchr/testify/require/doc.go b/vendor/github.com/stretchr/testify/require/doc.go
deleted file mode 100644
index 169de39221..0000000000
--- a/vendor/github.com/stretchr/testify/require/doc.go
+++ /dev/null
@@ -1,28 +0,0 @@
-// Package require implements the same assertions as the `assert` package but
-// stops test execution when a test fails.
-//
-// Example Usage
-//
-// The following is a complete example using require in a standard test function:
-// import (
-// "testing"
-// "github.com/stretchr/testify/require"
-// )
-//
-// func TestSomething(t *testing.T) {
-//
-// var a string = "Hello"
-// var b string = "Hello"
-//
-// require.Equal(t, a, b, "The two words should be the same.")
-//
-// }
-//
-// Assertions
-//
-// The `require` package have same global functions as in the `assert` package,
-// but instead of returning a boolean result they call `t.FailNow()`.
-//
-// 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 require