Skip to content

Commit

Permalink
Remove brackets surrounding class name
Browse files Browse the repository at this point in the history
  • Loading branch information
novotnyr committed Oct 10, 2024
1 parent e6efbbc commit 538b00e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ data class UndeclaredPluginDependencyProblem(

sealed class ApiElement {
data class Class(val className: String) : ApiElement() {
override fun toString(): String = "class [$className]"
override fun toString(): String = "class $className"
}

data class Package(val packageName: String) : ApiElement() {
override fun toString(): String = "package [$packageName]"
override fun toString(): String = "package $packageName"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class ExtractedJsonPluginAnalyzerTest {
problem as UndeclaredPluginDependencyProblem
assertEquals(
"Plugin 'com.intellij.modules.json' is not declared in the plugin descriptor as a dependency for " +
"class [com.intellij.json.JsonElementType]. " +
"class com.intellij.json.JsonElementType. " +
"JSON support has been extracted to a separate plugin.",
problem.fullDescription
)
Expand All @@ -62,7 +62,7 @@ class ExtractedJsonPluginAnalyzerTest {
problem as UndeclaredPluginDependencyProblem
assertEquals(
"Plugin 'com.intellij.modules.json' is not declared in the plugin descriptor as a dependency for " +
"class [com.intellij.json.JsonElementTypes]. " +
"class com.intellij.json.JsonElementTypes. " +
"JSON support has been extracted to a separate plugin.",
problem.fullDescription
)
Expand Down

0 comments on commit 538b00e

Please sign in to comment.