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
*.pyc
*.sln
*.swp
*.vcxproj

View File

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