Skip to content

Commit 7f6d673

Browse files
[skip style] [skip vbump] Restyle files
1 parent f0b7f7c commit 7f6d673

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

R/qenv-eval_code.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ setGeneric("eval_code", function(object, code, label) {
3636
})
3737

3838
setMethod("eval_code", signature = c("qenv", "character", "character"), function(object, code, label = "") {
39-
4039
parsed_code <- parse(text = code, keep.source = TRUE)
4140
object@.xData <- rlang::env_clone(object@.xData, parent = parent.env(.GlobalEnv))
4241
if (length(parsed_code) == 0) {

tests/testthat/test-qenv_get_code.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ testthat::test_that("when labels are passed only code related to those labels is
973973

974974
testthat::test_that("names are ignored when labels are provided", {
975975
q <- eval_code(qenv(), "a <- 1L", label = "code for a")
976-
testthat::expect_identical(get_code(q, names = 'X', labels = "code for a"), "a <- 1L")
976+
testthat::expect_identical(get_code(q, names = "X", labels = "code for a"), "a <- 1L")
977977
})
978978

979979
testthat::test_that("it is possible to pass labels of length greater than 1", {

0 commit comments

Comments
 (0)