Skip to content

Commit 6995ae5

Browse files
committed
chore: fix test from PR merge
1 parent ab12555 commit 6995ae5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/testthat/test-qenv_constructor.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ testthat::test_that("constructor returns qenv", {
5454
testthat::expect_identical(q@code, list())
5555
})
5656

57-
testthat::describe("grand parent of qenv environment is the parent of .GlobalEnv", {
57+
testthat::describe("parent of qenv environment is the parent of .GlobalEnv", {
5858
testthat::it("via slot", {
5959
q <- qenv()
60-
testthat::expect_identical(parent.env(parent.env(q@.xData)), parent.env(.GlobalEnv))
60+
testthat::expect_identical(parent.env(q@.xData), parent.env(.GlobalEnv))
6161
})
6262

6363
testthat::it("via qenv directly", {
6464
q <- qenv()
65-
testthat::expect_identical(parent.env(parent.env(q)), parent.env(.GlobalEnv))
65+
testthat::expect_identical(parent.env(q), parent.env(.GlobalEnv))
6666
})
6767
})

0 commit comments

Comments
 (0)