Skip to content

test_writer_indent_cdata fails on linux with stray "13" items #443

Closed
@decathorpe

Description

@decathorpe

Running the test suite for quick-xml 0.23.0 on Fedora Linux with stray "13" items.
It looks like this test discriminates between windows and not(windows) for some reason:
https://github.com/tafia/quick-xml/blob/master/tests/unit_tests.rs#L264

And it seems that the reason to discriminate between windows and not(windows) might no longer be there?

Environment: Fedora Linux 36 on x86_64 with Rust 1.62.0

thread 'test_writer_indent_cdata' panicked at 'assertion failed: `(left == right)`

Diff < left / right > :
 [
     60,
     63,
     120,
     109,
     108,
     32,
     118,
     101,
     114,
     115,
     105,
     111,
     110,
     61,
     34,
     49,
     46,
     48,
     34,
     63,
     62,
>    13,
     10,
     60,
     106,
     111,
     98,
     115,
     62,
>    13,
     10,
     32,
     32,
     32,
     32,
     60,
     106,
     111,
     98,
     62,
>    13,
     10,
     32,
     32,
     32,
     32,
     32,
     32,
     32,
     32,
     60,
     106,
     111,
     98,
     105,
     100,
     62,
     60,
     33,
     91,
     67,
     68,
     65,
     84,
     65,
     91,
     48,
     48,
     100,
     52,
     54,
     101,
     52,
     52,
     57,
     52,
     101,
     49,
     93,
     93,
     62,
     60,
     47,
     106,
     111,
     98,
     105,
     100,
     62,
>    13,
     10,
     32,
     32,
     32,
     32,
     60,
     47,
     106,
     111,
     98,
     62,
>    13,
     10,
     60,
     47,
     106,
     111,
     98,
     115,
     62,
 ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions