Skip to content

Commit 3f1c8a9

Browse files
committed
Fix typo spotted by Claude
1 parent 29256b5 commit 3f1c8a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/expect-constant.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ expect_waldo_constant_ <- function(
8686
msg <- c(
8787
sprintf("Expected %s to be %s.", act$lab, exp$lab),
8888
"Differences:",
89-
paste0(comp, collpase = "\n")
89+
paste0(comp, collapse = "\n")
9090
)
9191
fail(msg, info = info, trace_env = trace_env)
9292
} else {

R/expect-equality.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ expect_waldo_equal_ <- function(
151151
msg <- c(
152152
sprintf(msg, act$lab, exp$lab),
153153
"Differences:",
154-
paste0(comp, collpase = "\n")
154+
paste0(comp, collapse = "\n")
155155
)
156156
fail(msg, info = info, trace_env = trace_env)
157157
}

0 commit comments

Comments
 (0)