Skip to content

& split the result in two strings #17

Closed
@ghost

Description

I face a problem with escaped " or & As an example I change the test input data and this is the results I get:

  1) test xpath with sweet_xpath as only argment (SweetXmlTest)
     test/sweet_xml_test.exs:37
     Assertion with == failed
     code: result == ['O&ne', 'Two', 'Three', 'Four', 'Five']
     lhs:  ['O', '&ne', 'Two', 'Three', 'Four', 'Five']
     rhs:  ['O&ne', 'Two', 'Three', 'Four', 'Five']
     stacktrace:
       test/sweet_xml_test.exs:48

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions