Skip to content

Commit 5cb2a95

Browse files
gogonzochlebowa
andauthored
Update tests/testthat/test-qenv_get_code.R
Co-authored-by: Aleksander Chlebowski <114988527+chlebowa@users.noreply.github.com> Signed-off-by: Dawid Kałędkowski <dawid.kaledkowski@gmail.com>
1 parent 21d125d commit 5cb2a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-qenv_get_code.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ testthat::test_that("original formatting and comments are preserved when express
952952
testthat::expect_identical(get_code(eval_code(qenv(), expr)), code)
953953
})
954954

955-
testthat::test_that("extracting code doesn't fail when lhs contains two or more symbols occurring in lhs", {
955+
testthat::test_that("extracting code doesn't fail when lhs contains two or more symbols occurring in rhs", {
956956
code <- "l <- list(a = 1, b = 2)
957957
class(l) <- c('new class', class(l))" # l depends on class and class depends on l
958958
q <- eval_code(qenv(), code)

0 commit comments

Comments
 (0)