Polish "Avoid NPE when replacement property does not exist"

Closes gh-15394
This commit is contained in:
Stephane Nicoll
2018-12-28 18:19:12 +01:00
parent a1b71ef910
commit 4cae2c9c94
4 changed files with 120 additions and 107 deletions

View File

@@ -161,7 +161,7 @@ public class PropertiesMigrationReporterTests {
assertThat(report).isNotNull();
assertThat(report).containsSubsequence("Property source 'first'",
"deprecated.six.test", "Line: 1", "Reason",
"Replacement key 'does.not.exist' uses an incompatible target type");
"No metadata found for replacement key 'does.not.exist'");
assertThat(report).doesNotContain("null");
}