fix: improve rename checks and show rename reason (#584)

This commit is contained in:
Skylot
2019-05-09 14:42:29 +03:00
parent fef3e55c55
commit 19c57258fe
23 changed files with 250 additions and 144 deletions
@@ -42,8 +42,8 @@ public class RenameConverterTest {
() -> converter.convert("wrong"),
"Expected convert() to throw, but it didn't");
assertEquals("wrong is unknown for parameter someParam, "
+ "possible values are 'case', 'valid' and 'printable'",
assertEquals("'wrong' is unknown for parameter someParam, "
+ "possible values are 'case', 'valid', 'printable'",
thrown.getMessage());
}
}