Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispyles committed Aug 7, 2021
1 parent cc8f31a commit c3d7503
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions R/ottr.r
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,12 @@ load_test_cases = function(test_file) {
test_suite = env$test
if (is.na(test_suite$name)) {
test_suite$name = basename(test_file)
for (i in seq_along(test_suite$cases)) {
tc = test_suite$cases[[i]]
if (is.na(tc$name)) {
tc$name = paste(test_suite$name, i)
}
}

for (i in seq_along(test_suite$cases)) {
tc = test_suite$cases[[i]]
if (is.na(tc$name)) {
tc$name = paste(test_suite$name, "-", i)
}
}

Expand Down

0 comments on commit c3d7503

Please sign in to comment.