Skip to content

Commit

Permalink
fix rule stat test following default change to rule geom
Browse files Browse the repository at this point in the history
  • Loading branch information
corybrunson committed Dec 31, 2024
1 parent 0d03190 commit 135c134
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-stat-rule.r
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ axis_plot <-
ggplot(unit_data, aes(x, y)) +
coord_equal() +
stat_rule(
referent = cloud_data,
geom = "axis", referent = cloud_data,
fun.lower = NULL, fun.upper = NULL, fun.offset = NULL
)
axis_layer <- layer_data(axis_plot)
Expand Down Expand Up @@ -50,7 +50,7 @@ offset_plot <-
ggplot(unit_data, aes(x, y)) +
coord_equal() +
stat_rule(
referent = cloud_data,
geom = "axis", referent = cloud_data,
fun.lower = NULL, fun.upper = NULL
)
offset_layer <- layer_data(offset_plot)
Expand Down

0 comments on commit 135c134

Please sign in to comment.