mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-26255: Rephrase validation message, check python qualified name
After IDEA-CR-24967 review
This commit is contained in:
@@ -269,7 +269,7 @@ data class ConfigurationTarget(@ConfigField var target: String,
|
||||
throw RuntimeConfigurationWarning("Target not provided")
|
||||
}
|
||||
if (targetType == TestTargetType.PYTHON && !Regex("^[a-zA-Z0-9._]+[a-zA-Z0-9_]$").matches(target)) {
|
||||
throw RuntimeConfigurationWarning("Provide qualified python name")
|
||||
throw RuntimeConfigurationWarning("Provide a qualified name of function, class or a module")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user