Skip to content

Commit d0d1e7f

Browse files
author
Lindsay Carr
committed
updated axis test to reflect presence of metadata in gsplot object
1 parent a5ce69c commit d0d1e7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/testthat/tests-axis.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ test_that("axis",{
1414
test_that("axis gsplot",{
1515
gs = points(gsplot(mar=c(1,1,1,1)), c(-2,3), c(-1,5)) %>%
1616
axis(3)
17-
expect_true(all(names(gs) %in% c("side.1", "side.2", "side.3", "view.1.2", "global")))
17+
expect_true(all(names(gs) %in% c("side.1", "side.2", "side.3",
18+
"view.1.2", "global", "metadata")))
1819

1920
gs <- gsplot() %>%
2021
lines(1:5, c(1,10,100,1000,10000), log="y", axes=FALSE) %>%

0 commit comments

Comments
 (0)