ソースを参照

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() {

読み込み中…
キャンセル
保存