Przeglądaj źródła

Fixed typo in one of the tests

Lorenz 7 lat temu
rodzic
commit
e1dbb43a52
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      hw9/task1/tests/task1.rs

+ 1
- 1
hw9/task1/tests/task1.rs Wyświetl plik

@@ -52,7 +52,7 @@ mod tests {
52 52
 
53 53
     #[test]
54 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 58
     #[test]

Ładowanie…
Anuluj
Zapisz