Skip to content

Commit d143334

Browse files
author
Lindsay Carr
committed
edits to new yaxs='o' test
1 parent bc6ca2f commit d143334

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/testthat/test-set_view_lim.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ test_that("gsplot yaxs = 'o' works", {
2727
expect_equal(par(gs)$yaxs, "i")
2828
})
2929

30-
test_that("gsplot yaxs = 'o' works", {
30+
test_that("gsplot yaxs = 'o' works in gsplot()", {
3131
gs <- gsplot(ylim=c(0,NA), yaxs='o') %>%
3232
points(1:4,1:4) %>%
3333
lines(1:6,1:6)
3434

35-
3635
beforeBuffer <- c(0,6)
3736
buffer <- diff(beforeBuffer)*0.04
3837
afterBuffer <- c(beforeBuffer[1], beforeBuffer[2]+buffer)

0 commit comments

Comments
 (0)