Implemented AssertThatEnumerableIsEmptyInspection. Improved literal values by constant value calculation, more refactoring.

This commit is contained in:
2019-03-24 14:42:02 +01:00
parent e2ffce753c
commit 582e254195
14 changed files with 160 additions and 31 deletions
+3
View File
@@ -39,6 +39,9 @@ Then AssertJ would tell you the contents of the collection on failure.
> from: assertThat(charSequence/string).isEqualTo("");
> from: assertThat(charSequence/string).hasSize(0);
> to: assertThat(charSequence/string).isEmpty();
- AssertThatEnumerableIsEmpty
> from: assertThat(enumerable).hasSize(0);
> to: assertThat(charSequence/string).isEmpty();
## TODO
- AssertThatArrayHasLiteralSize