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

Function TestBoolean_Path

boolean_test.go:127–134  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

125}
126
127func TestBoolean_Path(t *testing.T) {
128 reporter := newMockReporter(t)
129
130 value := NewBoolean(reporter, true)
131
132 assert.Equal(t, true, value.Path("$").Raw())
133 value.chain.assert(t, success)
134}
135
136func TestBoolean_Schema(t *testing.T) {
137 reporter := newMockReporter(t)

Callers

nothing calls this directly

Calls 6

PathMethod · 0.95
newMockReporterFunction · 0.85
NewBooleanFunction · 0.85
assertMethod · 0.80
EqualMethod · 0.45
RawMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…