Skip to content

Commit 586b0e3

Browse files
committed
Need unique test names
1 parent 92cf0d9 commit 586b0e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-plotly-subplot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test_that("simple subplot works", {
2020
test_that("nrows argument works", {
2121
p1 <- plot_ly(x = c(1, 2))
2222
p2 <- plot_ly(x = c(1, 2))
23-
s <- expect_traces(subplot(p1, p2, nrows = 2), 2, "simple")
23+
s <- expect_traces(subplot(p1, p2, nrows = 2), 2, "simple2")
2424
expect_identical(s$data[[2]]$xaxis, s$layout[["yaxis2"]][["anchor"]])
2525
expect_identical(s$data[[2]]$yaxis, s$layout[["xaxis2"]][["anchor"]])
2626
doms <- lapply(s$layout, "[[", "domain")

0 commit comments

Comments
 (0)