Skip to content

Commit

Permalink
fix function: expect_equal_tbls, in section 14.3.1 (#1025)
Browse files Browse the repository at this point in the history
  • Loading branch information
orderlyquant authored Oct 6, 2023
1 parent b23a3e4 commit 33295e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testing-design.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -470,10 +470,10 @@ compare_tbl <- function(x, y, label = NULL, expected.label = NULL) {
expect_equal_tbls <- function(results, ref = NULL, ...) {
# code that gets things ready ...
for (i in seq_along(rest)) {
for (i in seq_along(results)) {
compare_tbl(
rest[[i]], ref,
label = names(rest)[[i]],
results[[i]], ref,
label = names(results)[[i]],
expected.label = ref_name
)
}
Expand Down

0 comments on commit 33295e6

Please sign in to comment.