MCPcopy Create free account
hub / github.com/Shopify/go-lua / TestIsControl

Function TestIsControl

go_test.go:30–38  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

28}
29
30func TestIsControl(t *testing.T) {
31 t.Skip()
32 for i := 0; i < 256; i++ {
33 control := i < 0x20 || i == 0x7f
34 if lib := unicode.Is(unicode.Cc, rune(i)); control != lib {
35 t.Errorf("%x: is control? %s", i, strconv.FormatBool(lib))
36 }
37 }
38}
39
40func TestReslicing(t *testing.T) {
41 a := [5]int{0, 1, 2, 3, 4}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…