MCPcopy
hub / github.com/gopherjs/gopherjs / TestSelectOnInvalid

Function TestSelectOnInvalid

compiler/natives/src/reflect/reflect_test.go:47–60  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

45}
46
47func TestSelectOnInvalid(t *testing.T) {
48 Select([]SelectCase{
49 {
50 Dir: SelectRecv,
51 Chan: Value{},
52 }, {
53 Dir: SelectSend,
54 Chan: Value{},
55 Send: ValueOf(1),
56 }, {
57 Dir: SelectDefault,
58 },
59 })
60}
61
62func TestStructOfDirectIface(t *testing.T) {
63 t.Skip("reflect.Value.InterfaceData is not supported by GopherJS.")

Callers

nothing calls this directly

Calls 1

ValueOfFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…