Skip to content

Commit 6b0c411

Browse files
committed
Cleanup rand test disable patch
1 parent dab7fc6 commit 6b0c411

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

patches/0002-rand-Disable-failing-test.patch

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,18 @@ Date: Sat, 15 Aug 2020 20:04:38 +0200
44
Subject: [PATCH] [rand] Disable failing test
55

66
---
7-
src/distributions/uniform.rs | 3 ++-
8-
1 file changed, 2 insertions(+), 1 deletion(-)
7+
src/distributions/uniform.rs | 1 +
8+
1 file changed, 1 insertion(+), 0 deletions(-)
99

1010
diff --git a/src/distributions/uniform.rs b/src/distributions/uniform.rs
1111
index 480b859..c80bb6f 100644
1212
--- a/src/distributions/uniform.rs
1313
+++ b/src/distributions/uniform.rs
14-
@@ -1085,7 +1085,7 @@ mod tests {
15-
_ => panic!("`UniformDurationMode` was not serialized/deserialized correctly")
16-
}
17-
}
18-
-
19-
+
20-
#[test]
21-
#[cfg(feature = "serde1")]
22-
fn test_uniform_serialization() {
2314
@@ -1314,6 +1314,7 @@ mod tests {
2415
not(target_arch = "wasm32"),
2516
not(target_arch = "asmjs")
2617
))]
27-
+ #[ignore] // FIXME
18+
+ #[ignore] // Requires unwinding
2819
fn test_float_assertions() {
2920
use super::SampleUniform;
3021
use std::panic::catch_unwind;

0 commit comments

Comments
 (0)