Skip to content

Commit dd29d4f

Browse files
committed
modify test expectation
1 parent be2d57c commit dd29d4f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: tests/testthat/test-ggplot-bar.R

+2-3
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@ test_that("Very basic bar graph", {
7373
geom_bar(stat="identity")
7474
info <- expect_traces(gg, 1, "nocolor")
7575
for(tr in info$traces){
76-
expect_null(tr$marker$color)
77-
expect_null(tr$marker$line$color)
78-
expect_null(tr$marker$line$width)
76+
expect_true(is.na(l$data[[1]]$marker$color))
77+
expect_null(tr$marker$line)
7978
expect_false(tr$showlegend)
8079
}
8180
expect_null(info$layout$annotations)

0 commit comments

Comments
 (0)