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

Function assertEqual

assert_test.go:8–12  ·  view source on GitHub ↗
(tb testing.TB, v1, v2 interface{})

Source from the content-addressed store, hash-verified

6)
7
8func assertEqual(tb testing.TB, v1, v2 interface{}) {
9 if !reflect.DeepEqual(v1, v2) {
10 tb.Fatalf("'%+v' and '%+v' are not equal", v1, v2)
11 }
12}
13
14func assertNoErr(tb testing.TB, err error) {
15 if err != nil {

Callers 11

test_xpath_valuesFunction · 0.85
test_xpath_tagsFunction · 0.85
test_xpath_countFunction · 0.85
test_xpath_evalFunction · 0.85
TestNamespacePrefixQueryFunction · 0.85
Test_plusFuncFunction · 0.85
Test_minusFuncFunction · 0.85
TestNodeTypeFunction · 0.85
Test_func_concatFunction · 0.85
TestLoadingCacheFunction · 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…