소스 검색

Support CI (client input) !

Steve Thielemann 3 년 전
부모
커밋
5659a77916
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      test-director.cpp

+ 3 - 0
test-director.cpp

@@ -39,6 +39,9 @@ TEST(director, director_debugging) {
   for (auto line : lines) {
     if (line[0] == '^') {
       dir.server_prompt(line.substr(1), line.substr(1));
+    } else if (line[0] == '!') {
+      // client input
+      dir.client_input(line.substr(1));
     } else {
       dir.server_line(line, line);
     }