Merge "RevisionDiffIT: Make assertion on common lines more explicit"

This commit is contained in:
Edwin Kempin
2019-04-10 11:17:27 +00:00
committed by Gerrit Code Review

View File

@@ -415,7 +415,7 @@ public class RevisionDiffIT extends AbstractDaemonTest {
.content() .content()
.onlyElement() .onlyElement()
.commonLines() .commonLines()
.containsAtLeast("Line 1", "Line 2", "Line 3") .containsExactly("Line 1", "Line 2", "Line 3", "")
.inOrder(); .inOrder();
assertThat(diffInfo).content().onlyElement().linesOfA().isNull(); assertThat(diffInfo).content().onlyElement().linesOfA().isNull();
assertThat(diffInfo).content().onlyElement().linesOfB().isNull(); assertThat(diffInfo).content().onlyElement().linesOfB().isNull();