全部搜尋項
bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: golang-github-smallstep-assert  ]

套件:golang-github-smallstep-assert-dev(0.0~git20200723.82e2b9b-4)

golang-github-smallstep-assert-dev 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 golang-github-smallstep-assert

維護小組:

外部的資源:

相似套件:

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

下載 golang-github-smallstep-assert-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 5。4 kB29。0 kB [檔案列表]