Skip to content

Commit a6d3230

Browse files
committed
Run tests with outputs for branch pd-line-styles-and-width
1 parent 08a4199 commit a6d3230

File tree

116 files changed

+48
-48
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+48
-48
lines changed

run_tests_with_outputs.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
library(testthat)
2-
devtools::install_github("ropensci/plotly", ref="marianne-geom-vline")
2+
devtools::install_github("ropensci/plotly", ref="pd-line-styles-and-width")
33
library(plotly)
44

55
setwd("tests")
57.2 KB
1.53 KB

tests/testthat/test-ggplot-abline.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ test_that("Second trace be the a-b line", {
1717
expect_true(L[[2]]$x[2] >= 3.5)
1818
expect_identical(L[[2]]$mode, "lines")
1919
expect_identical(L[[2]]$line$shape, "linear")
20-
expect_equal(L[[2]]$line$width, 4)
20+
expect_equal(L[[2]]$line$width, 8)
2121

2222
save_outputs(gg, "abline")
2323
})

tests/testthat/test-ggplot-abline.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"mode": "markers",
2525
"marker": {
2626
"color": "rgb(0,0,0)",
27-
"size": 10,
27+
"size": 20,
2828
"symbol": "circle",
2929
"opacity": 1,
3030
"sizeref": 1,
@@ -47,7 +47,7 @@
4747
"mode": "lines",
4848
"line": {
4949
"color": "rgb(255,0,0)",
50-
"width": 4,
50+
"width": 8,
5151
"dash": "solid",
5252
"shape": "linear"
5353
},
58.8 KB
51.3 KB

0 commit comments

Comments
 (0)