浏览代码

Fixed typo in one of the tests

Lorenz 7 年前
父节点
当前提交
e1dbb43a52
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      hw9/task1/tests/task1.rs

+ 1
- 1
hw9/task1/tests/task1.rs 查看文件

@@ -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]

正在加载...
取消
保存