浏览代码

Fixed srv-commands tests.

Joshua Rutschmann 8 年前
父节点
当前提交
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
 #[cfg(test)]
1
 #[cfg(test)]
2
 
2
 
3
 mod tests {
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
     #[test]
7
     #[test]
13
     fn empty_returns_correct_command() {
8
     fn empty_returns_correct_command() {

正在加载...
取消
保存