Skip to content

Commit

Permalink
Update test description
Browse files Browse the repository at this point in the history
Merge branch 'improve-test-coverage' of github.com:metrumresearchgroup/mrgda into improve-test-coverage

# Conflicts:
#	tests/testthat/test-list-files-of-type.R
  • Loading branch information
michaelmcd18 committed Jul 22, 2024
2 parents 364ccee + 670995d commit 702f6b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
- os: ubuntu-20.04
r: 4.0.5
- os: ubuntu-20.04
r: 4.1.3
r: 4.2.3
- os: ubuntu-20.04
r: 4.3.1
- os: ubuntu-latest
r: release
env:
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-list-files-of-type.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test_that("list_files_of_type: check sas7bdat does not work in test dir", {
expect_equal(length(list_files_of_type(path, "sas7bdat")$files_of_type), 0)
})

test_that("list_files_of_type works with csv and xpt", {
test_that("list_files_of_type returns message if file type not csv, xpt or sas7bdat", {

if (!dir.exists(file.path(tempdir(), "listfiletype"))) {
dir.create(file.path(tempdir(), "listfiletype"))
Expand Down

0 comments on commit 702f6b0

Please sign in to comment.