瀏覽代碼

Removed a non-working test

Lorenz Bung 8 年之前
父節點
當前提交
0f8efe0e70
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 0 行新增8 行删除
  1. 0
    8
      hw4/task1/src/unit_test_pstree.rs

+ 0
- 8
hw4/task1/src/unit_test_pstree.rs 查看文件

@@ -54,12 +54,4 @@ mod tests {
54 54
     fn print_existing() {
55 55
         assert_eq!(true, print(1));
56 56
     }
57
-
58
-    #[test]
59
-    fn print_recursive_existing_pid() {
60
-        let prc = Process::new(1);
61
-        let mut str = String::new();
62
-        prc.print_recursive(1, &mut str);
63
-        assert_eq!("systemd(1)", str);
64
-    }
65 57
 }

Loading…
取消
儲存