Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispyles committed Dec 1, 2020
2 parents 34c6f5c + f09f493 commit 02ccf00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ottr.r
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ grade_script = function(script_path, tests_glob, secret, ignore_errors) {
tests_glob = Sys.glob(tests_glob)
i = 1
for (test_file in tests_glob) {
already_tested = sapply(results, function(r) r$filename)
already_tested = sapply(results, function(r) basename(r$filename))
if (!(basename(test_file) %in% already_tested)) {
results[[i + num_embedded_tests]] = check(test_file, test_env, FALSE)
i = i + 1
Expand Down

0 comments on commit 02ccf00

Please sign in to comment.