MCPcopy Create free account
hub / github.com/antchfx/xpath / assertTrue

Function assertTrue

assert_test.go:26–30  ·  view source on GitHub ↗
(tb testing.TB, v bool)

Source from the content-addressed store, hash-verified

24}
25
26func assertTrue(tb testing.TB, v bool) {
27 if !v {
28 tb.Fatal("expected true, but got false")
29 }
30}
31
32func assertFalse(tb testing.TB, v bool) {
33 if v {

Callers 6

TestMustCompileFunction · 0.85
Test_plusFuncFunction · 0.85
Test_minusFuncFunction · 0.85
TestNodeTypeFunction · 0.85
Test_func_numberFunction · 0.85
TestGetRegexpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…