Эх сурвалжийг харах

Remote a TODO that is done.

The functionality has been implemented in LogArray::validate() and its tests.
Jing Yang 4 жил өмнө
parent
commit
e6c939ed66
1 өөрчлөгдсөн 0 нэмэгдсэн , 4 устгасан
  1. 0 4
      src/log_array.rs

+ 0 - 4
src/log_array.rs

@@ -351,10 +351,6 @@ mod tests {
         assert_eq!(0, log[0].command);
     }
 
-    // TODO(ditsing): add invariant checks to restore and write a test.
-    #[test]
-    fn test_restore() {}
-
     #[test]
     fn test_start() {
         let log = make_log_array_range(9, 17);