Skip to content

Commit e1c21b4

Browse files
committed
Replace "." in weirly name chip names by "_" so cargo init works
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
1 parent a24a588 commit e1c21b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/svd2rust-regress/src/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl TestCase {
6464
}
6565

6666
pub fn name(&self) -> String {
67-
format!("{:?}-{}", self.mfgr, self.chip).to_sanitized_snake_case()
67+
format!("{:?}-{}", self.mfgr, self.chip.replace(".", "_")).to_sanitized_snake_case()
6868
}
6969
}
7070

0 commit comments

Comments
 (0)