Browse Source

Fixed srv-commands tests.

Joshua Rutschmann 7 years ago
parent
commit
0534620593
1 changed files with 2 additions and 7 deletions
  1. 2
    7
      hw9/task2/srv-commands/tests/srv-commands.rs

+ 2
- 7
hw9/task2/srv-commands/tests/srv-commands.rs View File

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

Loading…
Cancel
Save