File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ test_that('rect color', {
72
72
traces.by.name <- list ()
73
73
for (tr in info $ traces ){
74
74
expect_equal(tr $ fillcolor , toRGB(" grey" ))
75
+ expect_equal(tr $ fill , " tozerox" )
75
76
expect_equal(tr $ y ,
76
77
c(0 , 1 , 1 , 0 , 0 , NA ,
77
78
0 , 1 , 1 , 0 , 0 , NA ,
@@ -98,6 +99,7 @@ test_that('rect color', {
98
99
traces.by.name <- list ()
99
100
for (tr in info $ traces ){
100
101
expect_equal(tr $ line $ color , " transparent" )
102
+ expect_equal(tr $ fill , " tozerox" )
101
103
expect_equal(tr $ y ,
102
104
c(0 , 1 , 1 , 0 , 0 , NA ,
103
105
0 , 1 , 1 , 0 , 0 , NA ,
@@ -125,6 +127,7 @@ test_that('rect aes(fill) with constant color', {
125
127
traces.by.name <- list ()
126
128
for (tr in info $ traces ){
127
129
expect_equal(tr $ line $ color , toRGB(" black" ))
130
+ expect_equal(tr $ fill , " tozerox" )
128
131
expect_equal(tr $ y ,
129
132
c(0 , 1 , 1 , 0 , 0 , NA ,
130
133
0 , 1 , 1 , 0 , 0 , NA ,
You can’t perform that action at this time.
0 commit comments