MCPcopy Index your code
hub / github.com/gavv/httpexpect / Array

Method Array

expect.go:676–681  ·  view source on GitHub ↗

Deprecated: use NewArray or NewArrayC instead.

(value []interface{})

Source from the content-addressed store, hash-verified

674
675// Deprecated: use NewArray or NewArrayC instead.
676func (e *Expect) Array(value []interface{}) *Array {
677 opChain := e.chain.enter("Array()")
678 defer opChain.leave()
679
680 return newArray(opChain, value)
681}
682
683// Deprecated: use NewString or NewStringC instead.
684func (e *Expect) String(value string) *String {

Callers

nothing calls this directly

Calls 3

newArrayFunction · 0.85
enterMethod · 0.80
leaveMethod · 0.80

Tested by

no test coverage detected