소스 검색

running rustfmt

Michael Mächtel 8 년 전
부모
커밋
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]

Loading…
취소
저장