We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4a43ac commit f9c9a81Copy full SHA for f9c9a81
tests/testthat/test-style.R
@@ -15,11 +15,11 @@ test_that("Whole update works as expected", {
15
16
17
test_that("Partial update works as expected", {
18
- p4 <- style(p, marker.color = "red")
+ p4 <- style(p1, marker.color = "red")
19
marker4 <- plotly_build(p4)$x$data[[1]]$marker
20
expect_equal(marker4, modifyList(marker4, list(color = "red")))
21
22
- p5 <- style(p, marker.line.color = "red")
+ p5 <- style(p1, marker.line.color = "red")
23
marker5 <- plotly_build(p5)$x$data[[1]]$marker
24
expect_equal(marker5, modifyList(marker5, list(line = list(color = "red"))))
25
})
0 commit comments