Skip to content

Commit bdf0e12

Browse files
[skip style] [skip vbump] Restyle files
1 parent 6587cb4 commit bdf0e12

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/testthat/test-qenv_get_code.R

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,6 @@ testthat::test_that("detects occurrence of a function definition with a @linksto
601601
# for loop --------------------------------------------------------------------------------------------------------
602602

603603
testthat::test_that("objects in for loop are extracted if passed as one character", {
604-
605604
code <- "
606605
some_other_dataset <- mtcars
607606
original_dataset <- iris[, 1:4]
@@ -617,7 +616,6 @@ testthat::test_that("objects in for loop are extracted if passed as one characte
617616
get_code(q, names = "output"),
618617
gsub("\n some_other_dataset <- mtcars\n", "", code, fixed = TRUE)
619618
)
620-
621619
})
622620

623621
testthat::test_that("objects in for loop are extracted if passed as separate calls", {
@@ -640,7 +638,7 @@ testthat::test_that("objects in for loop are extracted if passed as separate cal
640638
"for (x in c(1, 2)) {",
641639
" b <- a",
642640
" b <- b + a + 1",
643-
" b <- b + 3", #ORDER IS CHANGED IN HERE, but we can live with it
641+
" b <- b + 3", # ORDER IS CHANGED IN HERE, but we can live with it
644642
"}"
645643
)
646644
)

0 commit comments

Comments
 (0)