chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e879115
)
subst tests: Disable under miri
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 15 May 2022 16:59:36 +0000
(17:59 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 15 May 2022 17:00:02 +0000
(18:00 +0100)
We're going to add dbg! calls, which break.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/shapelib.rs
patch
|
blob
|
history
diff --git
a/src/shapelib.rs
b/src/shapelib.rs
index ed8c40e94c76b3b8f375c8edb18d1313a7b1de29..1842490022740d3519e003e9652e899688cb0ede 100644
(file)
--- a/
src/shapelib.rs
+++ b/
src/shapelib.rs
@@
-1156,6
+1156,7
@@
fn substn<'i>(before: Substituting<'i>, needle: &'static str, replacement: &str)
before.subst_general(needle, replacement)?.0
}
+#[cfg(not(miri))]
#[test]
fn test_subst_mf1() {
use SubstErrorKind as SEK;
@@
-1192,6
+1193,7
@@
fn test_subst_mf1() {
assert_eq!(n, 2);
}
+#[cfg(not(miri))]
#[test]
fn test_subst_mf2() {
use SubstErrorKind as SEK;