Skip to content

Commit

Permalink
run test
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzwalthert committed Apr 7, 2021
1 parent 3fd7923 commit e551659
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -3,7 +3,7 @@
default_stages: ["commit"]
repos:
- repo: https://github.com/lorenzwalthert/precommit
rev: 9360d26cd440a40eac4d9f3dc8546457b42e52be
rev: 3fd792391a4997ee75d2df464621dc7511c97829
hooks:
- id: style-files
args: [--style_pkg=styler, --style_fun=tidyverse_style]
Expand Down
2 changes: 1 addition & 1 deletion R/testing.R
Expand Up @@ -88,7 +88,7 @@ run_test_impl <- function(path_executable,
tempdir <- fs::dir_create(fs::file_temp())
if (!is.null(copy)) {
if (is.null(names(copy))) {
# no names, take dirname
# not namesm take directory name
new_dirs <- fs::path(tempdir, fs::path_dir(copy))
fs::dir_create(new_dirs)
paths_copy <- fs::path(new_dirs, fs::path_file(copy))
Expand Down

0 comments on commit e551659

Please sign in to comment.