Browse Source

Fixed typo in one of the tests

Lorenz 7 years ago
parent
commit
e1dbb43a52
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      hw9/task1/tests/task1.rs

+ 1
- 1
hw9/task1/tests/task1.rs View File

52
 
52
 
53
     #[test]
53
     #[test]
54
     fn control_with_newline_returns_correct_command() {
54
     fn control_with_newline_returns_correct_command() {
55
-        assert_eq!(parse("Control 123\n456"), Ok(Command::Control("123".to_string())))
55
+        assert_eq!(parse("CONTROL 123\n456"), Ok(Command::Control("123".to_string())))
56
     }
56
     }
57
 
57
 
58
     #[test]
58
     #[test]

Loading…
Cancel
Save