MCPcopy
hub / github.com/gopherjs/gopherjs / TestBoolConvert

Function TestBoolConvert

tests/misc_test.go:526–530  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

524}
525
526func TestBoolConvert(t *testing.T) {
527 if !reflect.ValueOf(true).Convert(reflect.TypeOf(true)).Bool() {
528 t.Fail()
529 }
530}
531
532func TestGoexit(t *testing.T) {
533 go func() {

Callers

nothing calls this directly

Calls 1

BoolMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…