Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nanxstats committed Apr 14, 2021
1 parent dd26100 commit e303b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-independent-test_templates.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fs_unlist <- function(fs) {
}
else if (class(x) == "list") {
ls_tmp <- fs_unlist(x)
for (j in seq_len(ls_tmp)) {
for (j in seq_len(length(ls_tmp))) {
ls_cnt <- ls_cnt + 1
ls[[ls_cnt]] <- ls_tmp[[j]]
}
Expand Down

0 comments on commit e303b21

Please # to comment.