Skip to content

Commit c439bd1

Browse files
committed
move into test()
1 parent f515dd5 commit c439bd1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/testthat/test-pretty_names.R

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ withr::with_options(
8080

8181
model <- pscl::zeroinfl(art ~ fem + mar, data = mydf)
8282
expect_snapshot(print(model_parameters(model), pretty_names = "labels", zap_small = TRUE))
83-
})
8483

85-
# doesn't crash if pretty-labels is NULL
86-
mydf <- pscl::bioChemists
87-
mydf$mar <- as.character(mydf$mar)
88-
model <- pscl::zeroinfl(art ~ fem + mar, data = mydf)
89-
out <- model_parameters(model)
90-
expect_identical(dim(out), c(6L, 10L))
84+
# doesn't crash if pretty-labels is NULL
85+
mydf <- pscl::bioChemists
86+
mydf$mar <- as.character(mydf$mar)
87+
model <- pscl::zeroinfl(art ~ fem + mar, data = mydf)
88+
out <- model_parameters(model)
89+
expect_identical(dim(out), c(6L, 10L))
90+
})
9191
}
9292
)

0 commit comments

Comments
 (0)