[FIR] Validate K2 diagnostic messages as a unit-test

This commit is contained in:
Nikolay Lunyak
2023-03-24 08:32:25 +02:00
committed by Space Team
parent 8096e94c88
commit 7545472dd3
5 changed files with 30 additions and 8 deletions
@@ -73,7 +73,5 @@ object FirNativeErrorsDefaultMessages : BaseDiagnosticRendererFactory() {
map.put(INAPPLICABLE_EXACT_OBJC_NAME, "Exact @ObjCName is only applicable to classes, objects and interfaces")
map.put(MISSING_EXACT_OBJC_NAME, "Exact @ObjCName is required to have an ObjC name")
map.put(NON_LITERAL_OBJC_NAME_ARG, "@ObjCName accepts only literal string and boolean values")
map.checkMissingMessages(FirNativeErrors)
}
}