Переглянути джерело

Remote a TODO that is done.

The functionality has been implemented in LogArray::validate() and its tests.
Jing Yang 4 роки тому
батько
коміт
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);