Skip to content

Commit

Permalink
Normalize the path returned by find_test_file
Browse files Browse the repository at this point in the history
Fixes #2355
  • Loading branch information
jimhester committed May 28, 2021
1 parent abe0c42 commit 11a1a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/active.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ find_active_file <- function(arg = "file") {
if (!rstudioapi::isAvailable()) {
stop("Argument `", arg, "` is missing, with no default", call. = FALSE)
}
rstudioapi::getSourceEditorContext()$path
normalizePath(rstudioapi::getSourceEditorContext()$path)
}

find_test_file <- function(path) {
Expand Down

0 comments on commit 11a1a62

Please # to comment.