Browse Source

Fix Block tests

ticki 9 years ago
parent
commit
795aa19906
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/block.rs

+ 2 - 2
src/block.rs

@@ -101,7 +101,7 @@ mod test {
     fn test_end() {
         let a = Block {
             size: 10,
-            ptr: unsafe { Unique::new(10 as *mut _) },
+            ptr: unsafe { Unique::new(15 as *mut _) },
         };
         let b = Block {
             size: 15,
@@ -129,7 +129,7 @@ mod test {
     fn test_left_to() {
         let a = Block {
             size: 10,
-            ptr: unsafe { Unique::new(10 as *mut _) },
+            ptr: unsafe { Unique::new(15 as *mut _) },
         };
         let b = Block {
             size: 15,