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

Function TestGreekAttributesInXPath

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

Source from the content-addressed store, hash-verified

100}
101
102func TestGreekAttributesInXPath(t *testing.T) {
103 doc := createNode("", RootNode)
104 div := doc.createChildNode("div", ElementNode)
105 div.addAttribute("γλώσσα", "ελληνικά")
106 div.lines = 1
107 test_xpath_elements(t, doc, `//div[@γλώσσα='ελληνικά']`, 1)
108}
109
110func TestCyrillicAndGreekAttributesMixedInXPath(t *testing.T) {
111 doc := createNode("", RootNode)

Callers

nothing calls this directly

Calls 4

createNodeFunction · 0.85
test_xpath_elementsFunction · 0.85
createChildNodeMethod · 0.80
addAttributeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…