(t *testing.T)
| 96 | } |
| 97 | |
| 98 | func Test_func_string(t *testing.T) { |
| 99 | test_xpath_eval(t, empty_example, `string(1.23)`, "1.23") |
| 100 | test_xpath_eval(t, empty_example, `string(3)`, "3") |
| 101 | test_xpath_eval(t, book_example, `string(//book/@category)`, "cooking") |
| 102 | } |
| 103 | func Test_func_string_empty(t *testing.T) { |
| 104 | // https://github.com/antchfx/xpath/issues/113 |
| 105 | // Create the equivalent of <div>hi</div> using TNode |
nothing calls this directly
no test coverage detected
searching dependent graphs…