瀏覽代碼

Fixed srv-commands tests.

Joshua Rutschmann 7 年之前
父節點
當前提交
0534620593
共有 1 個檔案被更改,包括 2 行新增7 行删除
  1. 2
    7
      hw9/task2/srv-commands/tests/srv-commands.rs

+ 2
- 7
hw9/task2/srv-commands/tests/srv-commands.rs 查看文件

@@ -1,13 +1,8 @@
1 1
 #[cfg(test)]
2 2
 
3 3
 mod tests {
4
-
5
-    extern crate task1;
6
-
7
-    use self::task1::Command;
8
-    use self::task1::ErrorType;
9
-    use self::task1::parse;
10
-    use self::task1::ParseError;
4
+	extern crate srv_commands;
5
+    use srv_commands::*;
11 6
 
12 7
     #[test]
13 8
     fn empty_returns_correct_command() {

Loading…
取消
儲存