Skip to content

Commit df215bf

Browse files
javier-godoymlopezFC
authored andcommitted
test: update integration test
Update the integration test because insert mode now defaults to true (#17)
1 parent b45b0a9 commit df215bf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/java/com/flowingcode/vaadin/addons/xterm/integration/ConsoleFeatureIT.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,14 @@ public void testFeature() throws InterruptedException {
6464
assertThat(cursorPosition(term), is(at(0, y)));
6565

6666
input.sendKeys("A");
67-
assertThat(currentLine(term), is("ALL"));
67+
assertThat(currentLine(term), is("AELL"));
6868

6969
input.sendKeys(Keys.INSERT, "B");
7070
assertThat(currentLine(term), is("ABLL"));
7171

72+
input.sendKeys(Keys.INSERT, "C");
73+
assertThat(currentLine(term), is("ABCLL"));
74+
7275
// long line
7376

7477
int cols = getColumnWidth(term);

0 commit comments

Comments
 (0)