Skip to content

Commit 7492395

Browse files
javier-godoypaodb
authored andcommitted
test: use Keys constant
1 parent b6d78bb commit 7492395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public void testFeature() throws InterruptedException {
8181

8282

8383
// long line
84-
term.sendKeys("\n");
84+
term.sendKeys(Keys.ENTER);
8585
assertThat(term.currentLine(), is(""));
8686
assertThat(term.cursorPosition(), is(pos.advance(0, 1)));
8787

0 commit comments

Comments
 (0)