Bläddra i källkod

running rustfmt

Michael Mächtel 8 år sedan
förälder
incheckning
824c7502ea
1 ändrade filer med 4 tillägg och 2 borttagningar
  1. 4
    2
      hw4/task1/src/unit_test_readproc.rs

+ 4
- 2
hw4/task1/src/unit_test_readproc.rs Visa fil

18
 
18
 
19
     #[test]
19
     #[test]
20
     fn test1_command() {
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
     #[test]
27
     #[test]

Laddar…
Avbryt
Spara