Skip to content

Commit 73304b4

Browse files
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 4ea5351 commit 73304b4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/testthat/test-read-file.R

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ test_that("read_file returns \"\" on an empty file", {
6868
expect_equal(read_file(test_path("empty-file")), "")
6969
})
7070

71-
test_that("read_file errors when provided an empty vector") {
71+
test_that("read_file errors when provided an empty vector")
72+
{
7273
expect_error(read_file(raw()))
7374
expect_error(read_file(numeric()))
7475
}
@@ -89,7 +90,8 @@ test_that("read_file_raw returns raw() on an empty file", {
8990
expect_equal(read_file_raw(test_path("empty-file")), raw())
9091
})
9192

92-
test_that("read_file_raw errors when provided an empty vector") {
93+
test_that("read_file_raw errors when provided an empty vector")
94+
{
9395
expect_error(read_file_raw(raw()))
9496
expect_error(read_file_raw(numeric()))
95-
}
97+
}

0 commit comments

Comments
 (0)