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

Function Test_func_local_name

xpath_function_test.go:85–88  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

83}
84
85func Test_func_local_name(t *testing.T) {
86 test_xpath_eval(t, book_example, `local-name(bookstore)`, "bookstore")
87 test_xpath_eval(t, mybook_example, `local-name(//mybook:book)`, "book")
88}
89
90func Test_func_starts_with(t *testing.T) {
91 test_xpath_eval(t, employee_example, `starts-with("tattoo", "tat")`, true)

Callers

nothing calls this directly

Calls 1

test_xpath_evalFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…