MCPcopy Index your code
hub / github.com/google/go-github / TestParseBooleanResponse_true

Function TestParseBooleanResponse_true

github/github_test.go:3921–3931  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

3919}
3920
3921func TestParseBooleanResponse_true(t *testing.T) {
3922 t.Parallel()
3923 result, err := parseBoolResponse(nil)
3924 if err != nil {
3925 t.Errorf("parseBoolResponse returned error: %+v", err)
3926 }
3927
3928 if want := true; result != want {
3929 t.Errorf("parseBoolResponse returned %+v, want: %+v", result, want)
3930 }
3931}
3932
3933func TestParseBooleanResponse_false(t *testing.T) {
3934 t.Parallel()

Callers

nothing calls this directly

Calls 1

parseBoolResponseFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…