MCPcopy Create free account
hub / github.com/gavv/httpexpect / String

Method String

expect.go:684–689  ·  view source on GitHub ↗

Deprecated: use NewString or NewStringC instead.

(value string)

Source from the content-addressed store, hash-verified

682
683// Deprecated: use NewString or NewStringC instead.
684func (e *Expect) String(value string) *String {
685 opChain := e.chain.enter("String()")
686 defer opChain.leave()
687
688 return newString(opChain, value)
689}
690
691// Deprecated: use NewNumber or NewNumberC instead.
692func (e *Expect) Number(value float64) *Number {

Callers

nothing calls this directly

Calls 3

newStringFunction · 0.85
enterMethod · 0.80
leaveMethod · 0.80

Tested by

no test coverage detected