Skip to content

Commit 7d5573c

Browse files
committed
Merge branch 'master' of https://github.com/ropensci/plotly into baobao-geom_jitter
2 parents 18d87d7 + fb40491 commit 7d5573c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-ggplot-histogram.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test_that("geom_histogram(aes(y = ..density..)) displays a density", {
3434
area <- sum(tr$y) * bw
3535
# the "area" of the plot (should be 1).
3636
# note this also serves as a check for the default binwidth
37-
expect_equal(area, 1, 0.1)
37+
expect_equal(area, 1, tolerance = 0.1)
3838
})
3939

4040
test_that("geom_histogram(aes(fill = ..count..)) works", {

0 commit comments

Comments
 (0)