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

Method Raw

string.go:55–57  ·  view source on GitHub ↗

Raw returns underlying value attached to String. This is the value originally passed to NewString. Example: str := NewString(t, "Hello") assert.Equal(t, "Hello", str.Raw())

()

Source from the content-addressed store, hash-verified

53// str := NewString(t, "Hello")
54// assert.Equal(t, "Hello", str.Raw())
55func (s *String) Raw() string {
56 return s.value
57}
58
59// Decode unmarshals the underlying value attached to the String to a target variable.
60// target should be one of these:

Callers 1

TestString_RawFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestString_RawFunction · 0.76