MCPcopy
hub / github.com/tinygo-org/tinygo / TestBar

Function TestBar

testdata/testing.go:18–29  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

16}
17
18func TestBar(t *testing.T) {
19 t.Log("log Bar")
20 t.Log("log g\nh\ni\n")
21 t.Run("Bar1", func(t *testing.T) {})
22 t.Run("Bar2", func(t *testing.T) {
23 t.Log("log Bar2\na\nb\nc")
24 t.Error("failed")
25 t.Log("after failed")
26 })
27 t.Run("Bar3", func(t *testing.T) {})
28 t.Log("log Bar end")
29}
30
31func TestAllLowercase(t *testing.T) {
32 names := []string {

Callers

nothing calls this directly

Calls 3

LogMethod · 0.65
ErrorMethod · 0.65
RunMethod · 0.45

Tested by

no test coverage detected