Skip to content

Commit e889178

Browse files
committed
Reformat code with air
1 parent f903dab commit e889178

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/testthat/test-keypress.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ keypress_wait_for <- function(p, marker, timeout = 10) {
110110
}
111111
out <- ""
112112
deadline <- Sys.time() + timeout
113-
while (Sys.time() < deadline && !grepl(marker, strip_ansi(out), fixed = TRUE)) {
113+
while (
114+
Sys.time() < deadline && !grepl(marker, strip_ansi(out), fixed = TRUE)
115+
) {
114116
p$poll_io(200)
115117
out <- paste0(out, p$read_output())
116118
}

0 commit comments

Comments
 (0)