saveourtool / diktat

Strict coding standard for Kotlin and a custom set of rules for detecting code smells, code style issues and bugs
https://diktat.saveourtool.com
MIT License
521 stars 39 forks source link

Consider using PsiTestUtil for diktat tests #815

Open petertrr opened 3 years ago

petertrr commented 3 years ago

PsiTestUtil can check AST validity. It can be useful to ensure that we don't break the tree in autofixers

kgevorkyan commented 3 years ago

Link https://plugins.jetbrains.com/docs/intellij/modifying-psi.html#maintaining-tree-structure-consistency