[Parameter Name Hints] do not show in exception constructors

This commit is contained in:
Yaroslav Lepenkin
2016-10-25 16:09:04 +03:00
parent 90a8a599e2
commit 69b0ba44e8
2 changed files with 18 additions and 0 deletions
@@ -57,6 +57,22 @@ class Groo {
onLineStartingWith("configure(testNow").assertNoInlays()
}
fun `test do not show for Exceptions`() {
setup("""
class Fooo {
public void test() {
Throwable t = new IllegalStateException("crime");
}
}
""")
onLineStartingWith("Throw").assertNoInlays()
}
fun `test show hint for single string literal if there is multiple string params`() {
setup("""class Groo {