Skip to content

Commit d97b471

Browse files
author
Lindsay Carr
committed
update for tests
1 parent a239308 commit d97b471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-legend.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ test_that("gsplot legend works", {
2323
expect_is(gs, "gsplot")
2424
expect_equal(gs$legend$gs.config$bg, "lightgrey")
2525
expect_equal(gs$legend$gs.config$location, "bottomright")
26-
expect_equal(length(which(names(gs$legend)=="legend.args")), 3)
26+
expect_equal(length(which(names(gs$legend)=="legend.args")), 4)
2727
expect_equal(gs$legend[[1]]$fill, quote(par("bg")))
2828
expect_equal(gs$legend[[4]]$lwd, NA)
2929
expect_equal(gs$legend[[2]]$density, NA)

0 commit comments

Comments
 (0)