More work on e2e tests

This commit is contained in:
Jacob Dufault 2017-12-29 09:39:06 -06:00
parent 2c10ed2669
commit 36e7fa9a76
2 changed files with 2 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
**/*.pyc
*.cquery *.cquery
*.pyc
*.sln *.sln
*.swp *.swp
*.vcxproj *.vcxproj

View File

@ -139,6 +139,7 @@ struct TextDocumentCompletionHandler : MessageHandler {
std::string path = request->params.textDocument.uri.GetPath(); std::string path = request->params.textDocument.uri.GetPath();
WorkingFile* file = working_files->GetFileByFilename(path); WorkingFile* file = working_files->GetFileByFilename(path);
assert(file);
// It shouldn't be possible, but sometimes vscode will send queries out // It shouldn't be possible, but sometimes vscode will send queries out
// of order, ie, we get completion request before buffer content update. // of order, ie, we get completion request before buffer content update.