[ Källkod: golang-github-smallstep-assert ]
Paket: golang-github-smallstep-assert-dev (0.0~git20200723.82e2b9b-4)
Länkar för golang-github-smallstep-assert-dev
Debianresurser:
Hämta källkodspaketet golang-github-smallstep-assert:
- [golang-github-smallstep-assert_0.0~git20200723.82e2b9b-4.dsc]
- [golang-github-smallstep-assert_0.0~git20200723.82e2b9b.orig.tar.gz]
- [golang-github-smallstep-assert_0.0~git20200723.82e2b9b-4.debian.tar.xz]
Ansvariga:
Externa resurser:
- Hemsida [github.com]
Liknande paket:
- golang-github-ngaut-go-zookeeper-dev
- golang-github-howeyc-gopass-dev
- golang-github-google-go-cmp-dev
- golang-gopkg-check.v1-dev
- golang-github-matryer-is-dev
- golang-github-bmatsuo-lmdb-go-dev
- golang-github-issue9-assert-dev
- golang-github-wellington-go-libsass-dev
- python3-annotated-types
- libexpected-dev
- libtest-hexstring-perl
simple assertion framework written in go
This library provides an assertion framework including the following functions:
- Equals: checks that expected and actual are equal. - Error: checks if err is not nil. - False: checks that a condition is false. - Fatal: checks that a condition is true or marks the test as failed and stop it's execution. - FatalError: checks that a error is nil or marks the test as failed and stop it's execution. - HasPrefix: checks that the string contains the given prefix. - HasSuffix: checks that the string ends with the given suffix. - Len: checks that the application of len() to value match the expected value. - Nil: checks that the value is nil. - NoError: checks if err nil. - NotEquals: checks that expected and actual are not equal. - NotNil: checks that the value is not nil. - Panic: checks that the passed function panics. - True: checks that a condition is true. - Type: checks that the value matches the type of expected.
Documentation: http://godoc.org/github.com/smallstep/assert
Hämta golang-github-smallstep-assert-dev
Arkitektur | Paketstorlek | Installerad storlek | Filer |
---|---|---|---|
all | 5,4 kbyte | 29,0 kbyte | [filförteckning] |