Skip to content

Commit

Permalink
fix snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Sep 18, 2024
1 parent 6c60bac commit 61f1ef6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/stat-qq.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@

Computation failed in `stat_qq_line()`.
Caused by error in `compute_group()`:
! `line.p` must be a a vector of length 2, not length 1.
! `line.p` must be a vector of length 2, not length 1.

2 changes: 1 addition & 1 deletion tests/testthat/test-labels.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ test_that("plot.tag.position rejects invalid input", {
)
expect_error(
ggplotGrob(p + theme(plot.tag.position = c(0, 0.5, 1))),
"must have length 2"
"must be a vector of length 2"
)
expect_error(
ggplotGrob(p + theme(plot.tag.position = c(0, 0), plot.tag.location = "margin")),
Expand Down

0 comments on commit 61f1ef6

Please sign in to comment.