Просмотр исходного кода

Fixed typo in one of the tests

Lorenz 8 лет назад
Родитель
Сommit
e1dbb43a52
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      hw9/task1/tests/task1.rs

+ 1
- 1
hw9/task1/tests/task1.rs Просмотреть файл

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]

Загрузка…
Отмена
Сохранить