Skip to content

Commit 7a6c83a

Browse files
committed
fix typos
1 parent cf7eaff commit 7a6c83a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/testthat/test-ggplot-facets.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ test_that("6 facets becomes 6 panels", {
88
theme(panel.margin = grid::unit(0, "cm"))
99
info <- save_outputs(gg, "barley")
1010
# two legend entries, but two groups
11-
expect_equal(sum(sapply(l$data, "[[", "showlegend")), 2)
11+
expect_equal(sum(sapply(info$data, "[[", "showlegend")), 2)
1212
expect_identical(
13-
sort(unique(sapply(l$data, "[[", "legendgroup"))), c("1931", "1932")
13+
sort(unique(sapply(info$data, "[[", "legendgroup"))), c("1931", "1932")
1414
)
1515
expect_identical(
16-
sort(unique(sapply(l$data, "[[", "name"))), c("1931", "1932")
16+
sort(unique(sapply(info$data, "[[", "name"))), c("1931", "1932")
1717
)
1818
})
1919

0 commit comments

Comments
 (0)