Skip to content

Commit 81e45ea

Browse files
committed
Remove punctuation in test-layer.R that was failing
1 parent 6dbca4c commit 81e45ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test-layer.r

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ test_that("function aesthetics are wrapped with stat()", {
4242
df <- data_frame(x = 1:10)
4343
expect_error(
4444
ggplot_build(ggplot(df, aes(density)) + geom_tile(stat = "density")),
45-
"Aesthetics must be valid data columns:"
45+
"Aesthetics must be valid data columns"
4646
)
4747
})
4848

4949
test_that("computed stats are in appropriate layer", {
5050
df <- data_frame(x = 1:10)
5151
expect_error(
5252
ggplot_build(ggplot(df, aes(x = x, stat(density))) + geom_tile(stat = "density") + geom_point()),
53-
"Aesthetics must be valid computed stats:"
53+
"Aesthetics must be valid computed stats"
5454
)
5555
})
5656

0 commit comments

Comments
 (0)