Skip to content

Commit

Permalink
fix #214 (test case for overriding the parent env)
Browse files Browse the repository at this point in the history
  • Loading branch information
daroczig committed Oct 13, 2024
1 parent f4c89a2 commit 5bd809b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-logger.R
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ test_that("config setter called from do.call", {

test_that("providing log_level() args to wrappers diretly is OK", {
local_test_logger(WARN)
expect_silent(log_info("{Sepal.Length}", .topenv = iris))
expect_silent(log_info("{Sepal.Length}", .topenv = list2env(iris)))
})

test_that("setters check inputs", {
Expand Down

0 comments on commit 5bd809b

Please sign in to comment.