Skip to content

Commit f9c9a81

Browse files
committed
fix other test typos
1 parent d4a43ac commit f9c9a81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test-style.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ test_that("Whole update works as expected", {
1515

1616

1717
test_that("Partial update works as expected", {
18-
p4 <- style(p, marker.color = "red")
18+
p4 <- style(p1, marker.color = "red")
1919
marker4 <- plotly_build(p4)$x$data[[1]]$marker
2020
expect_equal(marker4, modifyList(marker4, list(color = "red")))
2121

22-
p5 <- style(p, marker.line.color = "red")
22+
p5 <- style(p1, marker.line.color = "red")
2323
marker5 <- plotly_build(p5)$x$data[[1]]$marker
2424
expect_equal(marker5, modifyList(marker5, list(line = list(color = "red"))))
2525
})

0 commit comments

Comments
 (0)