Skip to content

Commit 3510247

Browse files
committed
actually get basic tests working
1 parent 9aacdf0 commit 3510247

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/testthat/test-ggplot-smooth.R

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ d <- diamonds[sample(nrow(diamonds), 1000), ]
3232
p3 <- qplot(carat, price, group = cut, data = d) + geom_smooth()
3333

3434
test_that("geom_smooth() respects group aesthetic", {
35-
# 1 trace for points
36-
# 5 traces for lines (1 for each group)
37-
# 5 traces for ribbons (1 for each group)
38-
info <- expect_traces(p3, 11, "group")
35+
info <- expect_traces(p3, 3, "group")
3936
})
4037

4138
p4 <- qplot(carat, price, colour = cut, data = d) + geom_smooth()

0 commit comments

Comments
 (0)