Browse Source

running rustfmt

Michael Mächtel 8 years ago
parent
commit
824c7502ea
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      hw4/task1/src/unit_test_readproc.rs

+ 4
- 2
hw4/task1/src/unit_test_readproc.rs View File

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]

Loading…
Cancel
Save