Skip to content

Commit a277b2d

Browse files
committed
fix join qenv tests
1 parent 984c439 commit a277b2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test-qenv_join.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ testthat::test_that("Joined qenv does not duplicate common code", {
4242
q@code,
4343
c("iris1 <- iris", "mtcars1 <- mtcars", "mtcars2 <- mtcars")
4444
)
45-
testthat::expect_identical(q@id, c(q1@id, q2@id[2])) # TODO fix
45+
testthat::expect_identical(q@id, c(q1@id, q2@id[3]))
4646
})
4747

4848
testthat::test_that("Not able to join two qenvs if any of the shared objects changed", {
@@ -72,7 +72,7 @@ testthat::test_that("join does not duplicate code but adds only extra code", {
7272
list(iris1 = iris, iris2 = iris, mtcars1 = mtcars, mtcars2 = mtcars)
7373
)
7474

75-
testthat::expect_identical(q@id, c(q1@id, q2@id[2])) # TODO - fix this
75+
testthat::expect_identical(q@id, c(q1@id, q2@id[3]))
7676
})
7777

7878
testthat::test_that("Not possible to join qenvs which share some code when one of the shared object was modified", {

0 commit comments

Comments
 (0)