Skip to content

Commit 25377d9

Browse files
committed
Some diagnostics
1 parent b55febf commit 25377d9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/testthat/test-snapshot-file.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
test_that("diagonstics", {
2+
expect_snapshot(str(as.list(Sys.getenv())))
3+
expect_snapshot(readLines("/github/workflow/event.json"))
4+
})
5+
16
test_that("expect_snapshot_file works", {
27
path <- write_tmp_lines(letters)
38
expect_snapshot_file(path, "foo.r", compare = compare_file_text)

0 commit comments

Comments
 (0)