Update tests for code-completion modulename change

Add module name to OtherModule result output and update the tests
accordingly.

Swift SVN r26262
This commit is contained in:
Ben Langmuir
2015-03-18 16:40:28 +00:00
parent ece29ccfa4
commit 5f2bcba8ba
12 changed files with 306 additions and 304 deletions

View File

@@ -361,6 +361,8 @@ void CodeCompletionResult::print(raw_ostream &OS) const {
break;
case SemanticContextKind::OtherModule:
Prefix.append("OtherModule");
if (!ModuleName.empty())
Prefix.append((Twine("[") + ModuleName + "]").str());
break;
}
if (NotRecommended)