Skip to content

Commit 8d96969

Browse files
committed
Re-enable fixed libcore tests
They were fixed in 6d6c574
1 parent bcc68c2 commit 8d96969

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

patches/0022-core-Disable-not-compiling-tests.patch

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -39,46 +39,6 @@ index a35897e..f0bf645 100644
3939

4040
pub fn decode_finite<T: DecodableFloat>(v: T) -> Decoded {
4141
match decode(v).1 {
42-
diff --git a/library/core/tests/num/int_macros.rs b/library/core/tests/num/int_macros.rs
43-
index 0475aeb..9558198 100644
44-
--- a/library/core/tests/num/int_macros.rs
45-
+++ b/library/core/tests/num/int_macros.rs
46-
@@ -88,6 +88,7 @@ mod tests {
47-
assert_eq!(x.trailing_ones(), 0);
48-
}
49-
50-
+ /*
51-
#[test]
52-
fn test_rotate() {
53-
assert_eq!(A.rotate_left(6).rotate_right(2).rotate_right(4), A);
54-
@@ -112,6 +113,7 @@ mod tests {
55-
assert_eq!(B.rotate_left(128), B);
56-
assert_eq!(C.rotate_left(128), C);
57-
}
58-
+ */
59-
60-
#[test]
61-
fn test_swap_bytes() {
62-
diff --git a/library/core/tests/num/uint_macros.rs b/library/core/tests/num/uint_macros.rs
63-
index 04ed14f..a6e372e 100644
64-
--- a/library/core/tests/num/uint_macros.rs
65-
+++ b/library/core/tests/num/uint_macros.rs
66-
@@ -52,6 +52,7 @@ mod tests {
67-
assert_eq!(x.trailing_ones(), 0);
68-
}
69-
70-
+ /*
71-
#[test]
72-
fn test_rotate() {
73-
assert_eq!(A.rotate_left(6).rotate_right(2).rotate_right(4), A);
74-
@@ -76,6 +77,7 @@ mod tests {
75-
assert_eq!(B.rotate_left(128), B);
76-
assert_eq!(C.rotate_left(128), C);
77-
}
78-
+ */
79-
80-
#[test]
81-
fn test_swap_bytes() {
8242
diff --git a/library/core/tests/ptr.rs b/library/core/tests/ptr.rs
8343
index 1a6be3a..42dbd59 100644
8444
--- a/library/core/tests/ptr.rs

0 commit comments

Comments
 (0)