mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user