Skip to content

Commit 6892c70

Browse files
committed
fix indent
1 parent 5b70c73 commit 6892c70

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

inst/tinytest/test_global_rostream.R

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,17 @@ compileAttributes(pkg_path)
7676

7777
# tests
7878
testRostream <- function() {
79-
captureFun <- function(...) {
80-
err <- capture.output(
81-
out <- capture.output(..., type="output"), type="message")
82-
c(out, err)
83-
}
84-
res <- all(ptrA() == ptrB())
85-
res <- c(res, all(grepl("^ ", captureFun(something()))))
86-
toLeft() # change alignment globally
87-
res <- c(res, all(grepl("^s", captureFun(something()))))
88-
toRight() # restore
89-
res
79+
captureFun <- function(...) {
80+
err <- capture.output(
81+
out <- capture.output(..., type="output"), type="message")
82+
c(out, err)
83+
}
84+
res <- all(ptrA() == ptrB())
85+
res <- c(res, all(grepl("^ ", captureFun(something()))))
86+
toLeft() # change alignment globally
87+
res <- c(res, all(grepl("^s", captureFun(something()))))
88+
toRight() # restore
89+
res
9090
}
9191

9292
# test package

0 commit comments

Comments
 (0)