MCPcopy Create free account
hub / github.com/ettle/strcase / TestAssertTrue

Function TestAssertTrue

assert_test.go:20–35  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

18}
19
20func TestAssertTrue(t *testing.T) {
21 {
22 f := &fakeT{}
23 assertTrue(f, true)
24 if f.fail == true {
25 t.Fail()
26 }
27 }
28 {
29 f := &fakeT{}
30 assertTrue(f, false)
31 if f.fail != true {
32 t.Fail()
33 }
34 }
35}
36
37func TestAssertEqual(t *testing.T) {
38 {

Callers

nothing calls this directly

Calls 2

assertTrueFunction · 0.85
FailMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…