瀏覽代碼

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…
取消
儲存