From 135c13420d091a702f5feb1d99399991318156cd Mon Sep 17 00:00:00 2001 From: Jason Cory Brunson Date: Mon, 30 Dec 2024 19:34:32 -0500 Subject: [PATCH] fix rule stat test following default change to rule geom --- tests/testthat/test-stat-rule.r | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-stat-rule.r b/tests/testthat/test-stat-rule.r index db43bde..82f37c0 100644 --- a/tests/testthat/test-stat-rule.r +++ b/tests/testthat/test-stat-rule.r @@ -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) @@ -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)