浏览代码

Fix function name in choose_text_color test

pull/18/merge
父节点
当前提交
6e19e7f83f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      tests/testthat/test-choose_text_color.R

+ 1
- 1
tests/testthat/test-choose_text_color.R 查看文件

@@ -2,5 +2,5 @@ context("test-set_text_color")

test_that("correct color selection", {
colors <- c("#FFFFFF", scales::brewer_pal("seq", "Set1")(4), "#000000")
expect_equal(set_text_color(colors), c("#000000", rep("#FFFFFF", 5)))
expect_equal(choose_text_color(colors), c("#000000", rep("#FFFFFF", 5)))
})

正在加载...
取消
保存