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

Function TestBUG_104

xpath_expression_test.go:153–157  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

151}
152
153func TestBUG_104(t *testing.T) {
154 // BUG https://github.com/antchfx/xpath/issues/104
155 test_xpath_count(t, book_example, `//author[1]`, 4)
156 test_xpath_values(t, book_example, `//author[1]/text()`, "Giada De Laurentiis", "J K. Rowling", "James McGovern", "Erik T. Ray")
157}
158
159func TestNonEnglishPredicateExpression(t *testing.T) {
160 // https://github.com/antchfx/xpath/issues/106

Callers

nothing calls this directly

Calls 2

test_xpath_countFunction · 0.85
test_xpath_valuesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…