Skip to content

Commit

Permalink
make test more universal
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasp85 committed Jan 27, 2025
1 parent 5343cb3 commit f4e9e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-logger-meta.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ test_that("captures other environmental metadata", {
expect_equal(env$user, sysinfo$user)

local_test_logger(layout = layout_glue_generator("{location$path}#{location$line}: {msg}"))
expect_output(test_info(), "logger/tests/testthat/helper.R#3: TEST")
expect_output(test_info(), file.path(getwd(), "helper.R#3: TEST"))
})

0 comments on commit f4e9e73

Please sign in to comment.