Michael Mächtel 8 лет назад
Родитель
Сommit
824c7502ea
1 измененных файлов: 4 добавлений и 2 удалений
  1. 4
    2
      hw4/task1/src/unit_test_readproc.rs

+ 4
- 2
hw4/task1/src/unit_test_readproc.rs Просмотреть файл

@@ -18,8 +18,10 @@ mod tests {
18 18
 
19 19
     #[test]
20 20
     fn test1_command() {
21
-        assert_eq!(Err("PID not alive: no command name found"),
22
-                   get_pid_command(0));
21
+        assert_eq!(
22
+            Err("PID not alive: no command name found"),
23
+            get_pid_command(0)
24
+        );
23 25
     }
24 26
 
25 27
     #[test]

Загрузка…
Отмена
Сохранить