Skip to content

Commit 486e64e

Browse files
committed
Remove non-namespaced reader tests from xmlrs_reader_tests.rs
The same things already tested more formally in tests/reader.rs and tests/reader-attributes.rs
1 parent 7463d2a commit 486e64e

File tree

4 files changed

+0
-142
lines changed

4 files changed

+0
-142
lines changed

tests/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ rpm_primary2.xml
2121
long, mix of attributes and text, not much escaping, mix of attribute lengths, some namespaces
2222
sample_1.xml
2323
short, mix of attributes and text, lots of escapes
24-
sample_1_short.txt
25-
sample_1_full.txt
2624
sample_ns.xml
2725
short, lots of namespaces, no escapes
2826
sample_rss.xml

tests/documents/sample_1_full.txt

-88
This file was deleted.

tests/documents/sample_1_short.txt

-34
This file was deleted.

tests/xmlrs_reader_tests.rs

-18
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,6 @@ use quick_xml::name::{QName, ResolveResult};
66
use quick_xml::reader::NsReader;
77
use std::str::from_utf8;
88

9-
#[test]
10-
fn sample_1_short() {
11-
test(
12-
include_str!("documents/sample_1.xml"),
13-
include_str!("documents/sample_1_short.txt"),
14-
true,
15-
);
16-
}
17-
18-
#[test]
19-
fn sample_1_full() {
20-
test(
21-
include_str!("documents/sample_1.xml"),
22-
include_str!("documents/sample_1_full.txt"),
23-
false,
24-
);
25-
}
26-
279
#[cfg(feature = "escape-html")]
2810
#[test]
2911
fn html5() {

0 commit comments

Comments
 (0)