Skip to content

Commit c1dad9e

Browse files
committed
Add (failing for now) integration test as suggested by @Marcoleni on issue #116
1 parent 051e0b2 commit c1dad9e

File tree

5 files changed

+6978
-3
lines changed

5 files changed

+6978
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
[._]*.sw[a-p]
33
Cargo.lock
44
target
5-
tests/

tests/bad_svd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use svd_parser as svd;
44
fn arm_sample_faulty() {
55
let xml = include_str!(concat!(
66
env!("CARGO_MANIFEST_DIR"),
7-
"/tests/ARM_Sample_faulty.svd"
7+
"/tests/data/ARM_Sample_faulty.svd"
88
));
99
if let Err(e) = svd::parse(xml) {
1010
for e in e.chain() {
@@ -13,4 +13,4 @@ fn arm_sample_faulty() {
1313
} else {
1414
panic!()
1515
}
16-
}
16+
}
File renamed without changes.

0 commit comments

Comments
 (0)