Skip to content

Commit

Permalink
Remove non-namespaced reader tests from xmlrs_reader_tests.rs
Browse files Browse the repository at this point in the history
The same things already tested more formally in tests/reader.rs and tests/reader-attributes.rs
  • Loading branch information
Mingun committed Jun 21, 2024
1 parent 7463d2a commit 486e64e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 142 deletions.
2 changes: 0 additions & 2 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ rpm_primary2.xml
long, mix of attributes and text, not much escaping, mix of attribute lengths, some namespaces
sample_1.xml
short, mix of attributes and text, lots of escapes
sample_1_short.txt
sample_1_full.txt
sample_ns.xml
short, lots of namespaces, no escapes
sample_rss.xml
Expand Down
88 changes: 0 additions & 88 deletions tests/documents/sample_1_full.txt

This file was deleted.

34 changes: 0 additions & 34 deletions tests/documents/sample_1_short.txt

This file was deleted.

18 changes: 0 additions & 18 deletions tests/xmlrs_reader_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,6 @@ use quick_xml::name::{QName, ResolveResult};
use quick_xml::reader::NsReader;
use std::str::from_utf8;

#[test]
fn sample_1_short() {
test(
include_str!("documents/sample_1.xml"),
include_str!("documents/sample_1_short.txt"),
true,
);
}

#[test]
fn sample_1_full() {
test(
include_str!("documents/sample_1.xml"),
include_str!("documents/sample_1_full.txt"),
false,
);
}

#[cfg(feature = "escape-html")]
#[test]
fn html5() {
Expand Down

0 comments on commit 486e64e

Please sign in to comment.