Skip to content

Commit a6a8c49

Browse files
committed
Move assignment inside capture.output() call
1 parent 703f87a commit a6a8c49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test_plots.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ test_that("Forest plot 1 to many", {
7474

7575
test_that("Forest plot 1 to many test 2", {
7676
res$pval<-formatC(res$pval, format = "e", digits = 2)
77-
expect_warning(p9 <- utils::capture.output(forest_plot_1_to_many(
77+
expect_warning(utils::capture.output(p9 <- forest_plot_1_to_many(
7878
res,
7979
b = "b",
8080
se = "se",

0 commit comments

Comments
 (0)