Skip to content

Commit 14e78ef

Browse files
committed
Merge branch '211_subset@main' of https://github.com/insightsengineering/teal.code into 211_subset@main
2 parents 080e27f + 115ea51 commit 14e78ef

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

man/qenv.Rd

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/test-qenv_eval_code.R

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ testthat::test_that("comments get pasted when they fall into calls", {
219219
)
220220
})
221221

222-
testthat::test_that("comments alone are pasted to the next/following call element",{
222+
testthat::test_that("comments alone are pasted to the next/following call element", {
223223
code <- c("x <- 5", "# comment", "y <- 6")
224224
q <- eval_code(qenv(), code)
225225
testthat::expect_identical(
@@ -232,7 +232,7 @@ testthat::test_that("comments alone are pasted to the next/following call elemen
232232
)
233233
})
234234

235-
testthat::test_that("comments at the end of src are added to the previous call element",{
235+
testthat::test_that("comments at the end of src are added to the previous call element", {
236236
code <- c("x <- 5", "# comment")
237237
q <- eval_code(qenv(), code)
238238
testthat::expect_identical(
@@ -245,7 +245,7 @@ testthat::test_that("comments at the end of src are added to the previous call e
245245
)
246246
})
247247

248-
testthat::test_that("comments from the same line are associated with it's call",{
248+
testthat::test_that("comments from the same line are associated with it's call", {
249249
code <- c("x <- 5", " y <- 4 # comment", "z <- 5")
250250
q <- eval_code(qenv(), code)
251251
testthat::expect_identical(
@@ -258,7 +258,7 @@ testthat::test_that("comments from the same line are associated with it's call",
258258
)
259259
})
260260

261-
testthat::test_that("comments alone passed to eval_code are skipped",{
261+
testthat::test_that("comments alone passed to eval_code are skipped", {
262262
code <- c("x <- 5", "# comment")
263263
q <- eval_code(eval_code(qenv(), code[1]), code[2])
264264
testthat::expect_identical(
@@ -270,4 +270,3 @@ testthat::test_that("comments alone passed to eval_code are skipped",{
270270
paste(code, collapse = "\n")
271271
)
272272
})
273-

0 commit comments

Comments
 (0)